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

18 lines
465 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
}