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

17 lines
468 B
Ucode

Class Ext_TraitUberAmmo extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkGunslinger(Perk).bHasUberAmmo = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkGunslinger(Perk).bHasUberAmmo = false;
}
defaultproperties
{
SupportedPerk=class'Ext_PerkGunslinger'
TraitGroup=class'Ext_TGroupZEDTime'
DefLevelCosts(0)=30
}