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

17 lines
413 B
Ucode

Class Ext_TraitEliteReload extends Ext_TraitBase;
static function ApplyEffectOn(KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
{
Perk.bTacticalReload = true;
}
static function CancelEffectOn(KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
{
Perk.bTacticalReload = false;
}
defaultproperties
{
DefLevelCosts(0)=50
DefMinLevel=50
}