2017-10-20 02:00:49 +00:00
|
|
|
Class Ext_TraitSWATEnforcer extends Ext_TraitBase;
|
|
|
|
|
2020-11-28 20:04:55 +00:00
|
|
|
static function ApplyEffectOn(KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
2017-10-20 02:00:49 +00:00
|
|
|
{
|
2020-11-28 20:12:58 +00:00
|
|
|
if (ExtHumanPawn(Player)!=None)
|
2017-10-20 02:00:49 +00:00
|
|
|
ExtHumanPawn(Player).bMovesFastInZedTime = true;
|
|
|
|
}
|
2020-11-28 21:54:57 +00:00
|
|
|
|
2020-11-28 20:04:55 +00:00
|
|
|
static function CancelEffectOn(KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
2017-10-20 02:00:49 +00:00
|
|
|
{
|
2020-11-28 20:12:58 +00:00
|
|
|
if (ExtHumanPawn(Player)!=None)
|
2017-10-20 02:00:49 +00:00
|
|
|
ExtHumanPawn(Player).bMovesFastInZedTime = false;
|
|
|
|
}
|
2020-11-28 21:54:57 +00:00
|
|
|
|
2020-11-28 20:04:55 +00:00
|
|
|
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
2017-10-20 02:00:49 +00:00
|
|
|
{
|
|
|
|
Perk.bHasSWATEnforcer = true;
|
|
|
|
}
|
2020-11-28 21:54:57 +00:00
|
|
|
|
2020-11-28 20:04:55 +00:00
|
|
|
static function TraitDeActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
2017-10-20 02:00:49 +00:00
|
|
|
{
|
|
|
|
Perk.bHasSWATEnforcer = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
2017-10-20 07:02:53 +00:00
|
|
|
TraitGroup=class'Ext_TGroupZEDTime'
|
2017-10-20 02:00:49 +00:00
|
|
|
DefLevelCosts(0)=50
|
|
|
|
}
|