Examples of RSNPC


Examples of org.rsbot.script.wrappers.RSNPC

  private static final int[][] items = {Fish, Jewelry, Weapons, Farming};
  private static final String[] names = {"Fish", "Jewelry", "Weapons", "Farming"};

  @Override
  public boolean activateCondition() {
    final RSNPC quizMaster = npcs.getNearest("Quiz Master");
    return quizMaster != null;
  }
View Full Code Here

Examples of org.rsbot.script.wrappers.RSNPC

    return quizMaster != null;
  }

  @Override
  public int loop() {
    final RSNPC quizMaster = npcs.getNearest("Quiz Master");
    if (quizMaster == null) {
      return -1;
    }
    if (getSlotID(1) != -1) {
      log.info("Question detected.");
View Full Code Here

Examples of org.rsbot.script.wrappers.RSNPC

      }
      if (getMyPlayer().isMoving() || getMyPlayer().getAnimation() != -1) {
        return random(600, 800);
      }
      if (!talkedToHerald) {
        final RSNPC herald = npcs.getNearest("Frog Herald");
        if (calc.distanceTo(herald) < 5) {
          if (!calc.tileOnScreen(herald.getLocation())) {
            camera.turnTo(herald);
          }
          herald.interact("Talk-to");
          return random(500, 1000);
        } else {
          walking.walkTileMM(herald.getLocation());
          return random(500, 700);
        }
      }
      if (frog == null) {
        frog = findFrog();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.