18 lines
510 B
Ucode
18 lines
510 B
Ucode
|
Class Ext_TraitBunnyHop extends Ext_TraitBase;
|
||
|
|
||
|
static function ApplyEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
if( ExtHumanPawn(Player)!=None )
|
||
|
ExtHumanPawn(Player).bHasBunnyHop = true;
|
||
|
}
|
||
|
static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
if( ExtHumanPawn(Player)!=None )
|
||
|
ExtHumanPawn(Player).bHasBunnyHop = false;
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
DefLevelCosts(0)=50
|
||
|
DefMinLevel=100
|
||
|
}
|