diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-31 21:36:05 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-31 21:36:05 +0000 |
commit | fc12c0e01efd8cefc4cf0a81160b58b3a11b96ec (patch) | |
tree | 3f43535d343f4dfe14c2a8232265c83984e94b75 /Northstar.CustomServers/mod/scripts/vscripts/earn_meter | |
parent | 2b9a541cf6fadfb16e934268c8e1c8b2069a1fc2 (diff) | |
download | NorthstarMods-fc12c0e01efd8cefc4cf0a81160b58b3a11b96ec.tar.gz NorthstarMods-fc12c0e01efd8cefc4cf0a81160b58b3a11b96ec.zip |
add fd boost shop boosts
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/earn_meter')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut index 6682807b..4c42a825 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut @@ -166,18 +166,8 @@ void function EarnMeterMP_BoostEarned( entity player ) while ( burncard.ref == "burnmeter_random_foil" ) burncard = BurnReward_GetRandom() - - array<string> mods = [ "burn_card_weapon_mod" ] - if ( burncard.extraWeaponMod != "" ) - mods.append( burncard.extraWeaponMod ) - - // ensure inventory slot isn't full to avoid crash - entity preexistingWeapon = player.GetOffhandWeapon( OFFHAND_INVENTORY ) - if ( IsValid( preexistingWeapon ) ) - player.TakeWeaponNow( preexistingWeapon.GetWeaponClassName() ) - - player.GiveOffhandWeapon( burncard.weaponName, OFFHAND_INVENTORY, mods ) - Remote_CallFunction_Replay( player, "ServerCallback_RewardReadyMessage", player.s.respawnTime ) + + BurnMeter_GiveRewardDirect( player, burncard.ref ) } void function EarnMeterMP_TitanEarned( entity player ) |