I just started out with 508, they're alot better than 317's IMO and I can't figure out why this won't work, can someone show me how? I made this shop customly, all of the other shops work but this one.
Code:
public int[] WeaponShop = {4151, 5698, 3751, 10828, 1079, 1127, 1201, 11732, 6920,
6737, 6570, 4131, 8850, 2413,
2414, 2412, 11138, 6914, 6889 };
public int[] WeaponShopN = {5000, 5000, 5000, 5000, 5000, 5000, 5000, 5000, 5000,
5000, 5000, 5000, 5000, 5000,
5000, 5000, 5000, 5000, 5000 };
Shophandler.java
Code:
case 3:
shopopen(p, 730);
generalStore = false;
items = Engine.shops.WeaponShop;
itemsN = Engine.shops.WeaponShopN;
p.getActionSender().setItems(p, -1, 64209, 93, p.items, p.itemsN);
p.getActionSender().setItems(p, -1, 64271, 32, items, itemsN);
and my NPCOption2.java
Code:
case 538:
Engine.shopHandler.openshop(p, 3);
break;