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

16 lines
360 B
Ucode

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