KF2-Server-Extension/ServerExt/Classes/Ext_TraitRanger.uc
2020-06-26 03:55:53 +03:00

17 lines
477 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
}