Stop posting the same thing over and over, be patient!
|
need help with this code:
case 404:
if (c.getItems().playerHasItem(18015,1) && c.getItems().playerHasItem(18016,5) && c.getItems().playerHasItem(18017,2) && c.getItems().playerHasItem(526,1) && c.getItems().freeSlots() >= 1) {
c.getItems().deleteItem(18015, 1);
c.getItems().deleteItem(18016, 5);
c.getItems().deleteItem(526, 1);
c.getItems().deleteItem(18017, 2);
c.getItems().addItem(12047, 1);
c.getPA().addSkillXP((1500), 22);
c.sendMessage("You Created A Spirit Wolf Pouch!");
} else {
c.sendMessage("You need a 2 gold charms, 5 spirit shards, a pouch, and a bone");
}
break;
instead of taking the requirements it takes more then what it should it takes everyitem that you have over the requirement
Stop posting the same thing over and over, be patient!
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |