KF2-Server-Extension/ServerExt/Classes/Ext_TraitUnGrab.uc
2020-06-26 03:55:53 +03:00

15 lines
350 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
{
DefLevelCosts(0)=30
}