Thread: [PI] Slayer

Results 1 to 3 of 3
  1. #1 [PI] Slayer 
    Catherby Developer
    Mini Slurpee's Avatar
    Join Date
    Apr 2011
    Posts
    747
    Thanks given
    80
    Thanks received
    86
    Rep Power
    31
    Can someone help me figure this out?, im not sure how its done
    Code:
    public static int[] medTasks = { 1643, 1618, 941, 119, 82, 52, 1612, 117, 1265,112, 125, 1341, 111, 145, 1616, 1637, };
    How am i suppost to set the "if (slayer.medtasks).... " so it'll work like that??
    Code:
    				    if (Slayer.medTasks) {
    						c.getPA().addSkillXP((npcs[i].MaxHP * 10) * Config.SLAYER_EXPERIENCE, 18);
    						c.slayerPoints += 4;
    						c.slayerTask = -1;
    						c.sendMessage("@bla@[@dre@Medium@bla@]You completed your slayer task, talk to a slayer master to get a new one.");
    					}
    Attached image
    “I have not failed, I've just found 10,000 ways that won't work.”
    “Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”
    Reply With Quote  
     

  2. #2  
    Catherby Developer
    Mini Slurpee's Avatar
    Join Date
    Apr 2011
    Posts
    747
    Thanks given
    80
    Thanks received
    86
    Rep Power
    31
    Bump, i need help, anyone?
    Attached image
    “I have not failed, I've just found 10,000 ways that won't work.”
    “Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    Quote Originally Posted by Mini Slurpee View Post
    Bump, i need help, anyone?
    Loop through the array
    If only I hadn't given you up, my life could've been different.
    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

Similar Threads

  1. [PI] Slayer Tower/Barrows Fix [PI]
    By The Ricky in forum Tutorials
    Replies: 7
    Last Post: 09-21-2010, 01:12 AM
  2. [Pi] Slayer Requirements/Item Requirements
    By jakehop22 in forum Snippets
    Replies: 4
    Last Post: 09-10-2010, 04:13 AM
  3. [PI]Slayer Tower Stairs Problem[PI]
    By The Ricky in forum Help
    Replies: 9
    Last Post: 08-29-2010, 04:27 AM
  4. [PI] Slayer stairs
    By S H O R T in forum Help
    Replies: 0
    Last Post: 08-28-2010, 04:25 PM
  5. pi slayer xp
    By Romania Clan in forum Help
    Replies: 2
    Last Post: 07-27-2010, 02:33 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •