30 lines
901 B
Ucode
30 lines
901 B
Ucode
|
Class Ext_TraitRackEmUp extends Ext_TraitBase;
|
||
|
|
||
|
var array<byte> ComboSize;
|
||
|
|
||
|
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
Ext_PerkRhythmPerkBase(Perk).SetMaxRhythm(Default.ComboSize[Level-1]);
|
||
|
}
|
||
|
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
Ext_PerkRhythmPerkBase(Perk).ResetRhythm();
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
SupportedPerk=class'Ext_PerkRhythmPerkBase'
|
||
|
TraitName="Rack 'em up"
|
||
|
DefLevelCosts(0)=10
|
||
|
DefLevelCosts(1)=15
|
||
|
DefLevelCosts(2)=20
|
||
|
DefLevelCosts(3)=30
|
||
|
DefLevelCosts(4)=50
|
||
|
ComboSize.Add(4)
|
||
|
ComboSize.Add(8)
|
||
|
ComboSize.Add(12)
|
||
|
ComboSize.Add(16)
|
||
|
ComboSize.Add(28)
|
||
|
NumLevels=5
|
||
|
Description="Deals more damage to each consequtive headshot done to zeds by +7.5%.|For each level you can make a bigger combo and deal more damage in a rate of:|Lv1-5: +30%, +60%, +90%, +120%, +210%"
|
||
|
}
|