KF2-Server-Extension/ServerExt/Classes/Ext_TraitSirenResistance.uc
2020-06-26 03:55:53 +03:00

16 lines
422 B
Ucode

Class Ext_TraitSirenResistance extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkDemolition(Perk).bSirenResistance = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkDemolition(Perk).bSirenResistance = false;
}
defaultproperties
{
DefLevelCosts(0)=50
DefMinLevel=75
}