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

18 lines
564 B
Ucode

Class Ext_TraitDireReload extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkSharpshooter(Perk).bHasDireReload = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkSharpshooter(Perk).bHasDireReload = false;
}
defaultproperties
{
SupportedPerk=class'Ext_PerkSharpshooter'
TraitName="Dire reloader"
DefLevelCosts(0)=35
Description="This trait will make you reload much faster when you have less then 40 health."
}