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

15 lines
475 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
Class Ext_TraitFireRange extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
KFPlayerReplicationInfo(Perk.PlayerOwner.PlayerReplicationInfo).bExtraFireRange = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
KFPlayerReplicationInfo(Perk.PlayerOwner.PlayerReplicationInfo).bExtraFireRange = false;
}
defaultproperties
{
DefLevelCosts(0)=35
}