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

18 lines
536 B
Ucode

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."
}