Amplifiers adjustment - shards only

This commit is contained in:
Shaun Bennett 2016-07-13 19:26:23 -05:00
parent 369dabffae
commit a34ac42093

View File

@ -377,14 +377,16 @@ public class GameGemManager implements Listener
UtilPlayer.message(player, F.elem(C.cAqua + "+" + baseShards + " Treasure Shards") + " for " + F.elem("Earning " + baseShards + " Gems"));
if (rank.has(Rank.ULTRA))
{
UtilPlayer.message(player, F.elem(C.cAqua + "+" + (baseShards * extraMult) + " Treasure Shards") + " for " +
int extraShards = ((int) (extraMult * baseShards));
UtilPlayer.message(player, F.elem(C.cAqua + "+" + extraShards + " Treasure Shards") + " for " +
F.elem(rank.getTag(true, true)) + F.elem(" Rank" + C.cAqua + " +" + Math.round((extraMult*100)) + "%"));
}
Booster booster = Manager.getBoosterManager().getActiveBooster();
if (game.GemBoosterEnabled && booster != null)
{
double multiplier = booster.getMultiplier() - 1;
UtilPlayer.message(player, F.elem(C.cAqua + "+" + (baseShards * multiplier) + " Treasure Shards") + " for " +
int extraShards = ((int) (multiplier * baseShards));
UtilPlayer.message(player, F.elem(C.cAqua + "+" + extraShards + " Treasure Shards") + " for " +
F.name(booster.getPlayerName()) + "'s" + F.elem(" Game Amplifier" + C.cAqua + " +" + Math.round((multiplier*100)) + "%"));
}