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

18 lines
536 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
Class Ext_TraitFanfire extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkGunslinger(Perk).bHasFanfire = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkGunslinger(Perk).bHasFanfire = false;
}
defaultproperties
{
SupportedPerk=class'Ext_PerkGunslinger'
TraitName="ZED TIME - Fanfire"
DefLevelCosts(0)=30
Description="Make perked weapons fire at normal firerate during ZED-time."
}