KF2-Server-Extension/ServerExt/Classes/Ext_TraitFireRange.uc
2020-11-28 23:04:55 +03:00

15 lines
471 B
Ucode

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
}