aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/earn_meter
diff options
context:
space:
mode:
authorConnie Price <contact@connieprice.co.uk>2022-01-05 00:14:57 +0000
committerConnie Price <contact@connieprice.co.uk>2022-01-05 00:14:57 +0000
commitb537fe6db52e0a30aa84592461ba7c1e27715036 (patch)
tree6fa2ab86cd31d6d4f4b7c2b299c84215d49e3c4d /Northstar.CustomServers/mod/scripts/vscripts/earn_meter
parenta352fbb877aabdaf9b124eee47fb78f2ac0007a6 (diff)
downloadNorthstarMods-b537fe6db52e0a30aa84592461ba7c1e27715036.tar.gz
NorthstarMods-b537fe6db52e0a30aa84592461ba7c1e27715036.zip
Boost Fixes Redux
- Fixed Dice Roll still picking "titan only" boosts. - Added a more flexible way to set replacements for "non-titan" modes. `BurnMeter_SetNoTitansReplacement( string original, string replacement)` - Fixed ticks not being rewarded in pairs. - Added support for multiple boost rewards. `BurnMeter_SetBoostRewardCount( string burnRef, int count )`
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/earn_meter')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/earn_meter/sv_earn_meter_mp.gnut3
1 files changed, 1 insertions, 2 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 193262f1..1aa0f042 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
@@ -153,9 +153,8 @@ void function EarnMeterMP_BoostEarned( entity player )
while ( burncard.ref == "burnmeter_random_foil" )
burncard = BurnReward_GetRandom()
- if ( !BurnMeter_CheckBoostLimit( player ) ) {
+ for ( int i = 0; i < BurnMeter_GetLimitedRewardCount( player ); i++ )
BurnMeter_GiveRewardDirect( player, burncard.ref )
- }
PlayerEarnMeter_DisableReward( player )
}