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

19 lines
599 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
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'
2017-10-20 02:00:49 +00:00
TraitName="ZED TIME - Ranger"
DefLevelCosts(0)=40
Description="This will make you effectively stun enemies with headshots during ZED-time."
}