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

16 lines
368 B
Ucode

Class Ext_TraitNightvision extends Ext_TraitBase;
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
{
Perk.bHasNightVision = true;
}
static function TraitDeActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
{
Perk.bHasNightVision = false;
}
defaultproperties
{
NumLevels=1
DefLevelCosts(0)=25
}