Max item amount is 10 for non-bow classes. So sayth Chiss

This commit is contained in:
libraryaddict 2014-11-30 15:55:57 +13:00
parent 0813f0a914
commit ec26b8b642

View File

@ -311,7 +311,8 @@ public class SkillPage extends ShopPageBase<ClassShopManager, ClassCombatShop>
itemLore.add("");
itemLore.add(C.cYellow + "Item Token Cost: " + C.cWhite + item.getTokenCost());
itemLore.add(C.cYellow + "Item Tokens Remaining: " + C.cWhite + clientClass.GetSavingCustomBuild().ItemTokens + "/" + CustomBuildToken.MAX_ITEM_TOKENS);
itemLore.add(C.cYellow + "Item Tokens Remaining: " + C.cWhite + clientClass.GetSavingCustomBuild().ItemTokens + "/" +
(_pvpClass.GetType() == ClassType.Assassin || _pvpClass.GetType() == ClassType.Ranger ? 0 : -2) + CustomBuildToken.MAX_ITEM_TOKENS);
itemLore.add("");
if (clientClass.GetSavingCustomBuild().ItemTokens >= item.getTokenCost())