KF2-Server-Extension/ServerExt/Classes/Ext_TraitUnGrab.uc
2017-10-19 21:00:49 -05:00

17 lines
436 B
Ucode

Class Ext_TraitUnGrab extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bCanBeGrabbed = false;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bCanBeGrabbed = true;
}
defaultproperties
{
TraitName="Fake Out"
DefLevelCosts(0)=30
Description="With this trait you are ungrabbable by the zeds."
}