Jump to content

How to get player level?


TheGreatests

Recommended Posts

Need method to getting a certain level, and if itsa grater then or equal to. I need it to validate a node. 

 


public class Addy extends Walk2Zone {
 private Script s;
 public Addy(Script sA) {
  super(sA);
  // TODO Auto-generated constructor stub
 }
 
 @Override
 public boolean validate() throws InterruptedException {
  return s.players.experienceTracker.skills! = (Skill.MINING);; ///How do I implement a method that validates this if my skills above a certain level I need to make a int of the value but kinda went brain dead

  
 }
 @Override
 public boolean execute() throws InterruptedException {
  return false;
  
 }
Link to comment
Share on other sites

1 minute ago, DrDu said:

getSkills().getDynamic(Skill.MINING) = 9

Fucking dude did this - return s.players.skills.getStatic(Skill.MINING) != 29;

 

Whats another way to get it by exact experience?  I mean, I want it to go and get a certain item if the experience is 23,000,00 or more? How do you search via experience experience?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...