KF2-Server-Extension/ServerExt/Classes/Ext_TraitSirenResistance.uc

16 lines
422 B
Ucode
Raw Normal View History

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
2020-06-26 00:55:53 +00:00
DefMinLevel=75
}