KF2-Server-Extension/ServerExt/Classes/Ext_TraitSirenResistance.uc
2020-11-28 23:04:55 +03:00

16 lines
418 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
}