Thread: Help please

Results 1 to 3 of 3
  1. #1 Help please 
    Irathient Developer

    mr selby's Avatar
    Join Date
    May 2011
    Age
    28
    Posts
    1,183
    Thanks given
    95
    Thanks received
    166
    Rep Power
    97
    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
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    May 2011
    Posts
    1,238
    Thanks given
    193
    Thanks received
    267
    Rep Power
    0
    Stop posting the same thing over and over, be patient!
    Reply With Quote  
     

  3. #3  
    Irathient Developer

    mr selby's Avatar
    Join Date
    May 2011
    Age
    28
    Posts
    1,183
    Thanks given
    95
    Thanks received
    166
    Rep Power
    97
    ^ someone is hype cause they cant get help themself
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •