More gem boosty!

This commit is contained in:
Chiss 2014-08-09 13:42:29 +10:00
parent 2e95548b6e
commit c93a49add2

View File

@ -1143,9 +1143,11 @@ public class GameLobbyManager implements IPacketRunnable, Listener
player.getInventory().setItem( player.getInventory().setItem(
7, 7,
ItemStackFactory.Instance.CreateStack(Material.EMERALD, (byte) 0, boosters, (short) 0, C.cGreen ItemStackFactory.Instance.CreateStack(Material.EMERALD, (byte) 0, Math.max(1, boosters), (short) 0, C.cGreen
+ boosters + " Gem Boosters" + + boosters + " Gem Boosters" +
(Manager.GetGame().GemBoosters.size() < 4 && boosters > 0 ? C.cWhite + " - " + C.cYellow + "Click for " + C.cGreen + (100-Manager.GetGame().GemBoosters.size()*25) + "%" + C.cYellow + " Boost" : ""), (Manager.GetGame().GemBoosters.size() < 4 && boosters > 0 ?
C.cWhite + " - " + C.cYellow + "Click for " + C.cGreen + (100-Manager.GetGame().GemBoosters.size()*25) + "%" + C.cYellow + " Boost" :
C.cWhite + " - " + C.cRed + "Purchase Gem Boosters in the Hub"),
new String[] new String[]
{ {
C.cYellow + "Click for " + C.cGreen + (100-Manager.GetGame().GemBoosters.size()*25) + "%" + C.cYellow + " Boost", C.cYellow + "Click for " + C.cGreen + (100-Manager.GetGame().GemBoosters.size()*25) + "%" + C.cYellow + " Boost",