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

18 lines
474 B
Ucode

Class Ext_TraitRanger extends Ext_TraitBase;
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
{
Ext_PerkSharpshooter(Perk).ZEDTimeStunPower = 4.f;
}
static function TraitDeActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
{
Ext_PerkSharpshooter(Perk).ZEDTimeStunPower = 0.f;
}
defaultproperties
{
SupportedPerk=class'Ext_PerkSharpshooter'
TraitGroup=class'Ext_TGroupZEDTime'
DefLevelCosts(0)=40
}