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

17 lines
418 B
Ucode
Raw Normal View History

Class Ext_TraitSirenResistance extends Ext_TraitBase;
2020-11-28 20:04:55 +00:00
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
{
Ext_PerkDemolition(Perk).bSirenResistance = 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)
{
Ext_PerkDemolition(Perk).bSirenResistance = false;
}
defaultproperties
{
DefLevelCosts(0)=50
2023-05-14 03:01:17 +00:00
DefMinLevel=75
}