1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Option to pick up Agonic orts

Discussion in 'Client & Site Suggestions' started by EvilCabbage, Apr 20, 2015.

  1. EvilCabbage

    Joined:
    Nov 3, 2013
    Messages:
    2,389
    Likes Received:
    849
    Speaks for itself I think.

    Agonic arts are things that randomly appear under you, you use these on the clan ava for bonus exp.

    RS3
     
  2. Lad

    Lad

    Joined:
    Feb 6, 2015
    Messages:
    241
    Likes Received:
    69
    Xp waste confirmed ;)
     
  3. Insomniac

    Joined:
    Jan 27, 2015
    Messages:
    1,557
    Likes Received:
    529
    Pretty useless if you wanna go full efficient. That was at least from my experience on 2x exp weekend.
     
  4. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,072
    Likes Received:
    1,894
    Code (Text):
    1. package productions.celestial.api.defaultoperations;
    2.  
    3. import com.runemate.game.api.hybrid.entities.GroundItem;
    4. import com.runemate.game.api.hybrid.local.Camera;
    5. import com.runemate.game.api.hybrid.location.navigation.Path;
    6. import com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath;
    7. import com.runemate.game.api.hybrid.region.GroundItems;
    8. import com.runemate.game.api.hybrid.region.Players;
    9. import com.runemate.game.api.script.Execution;
    10. import com.runemate.game.api.script.framework.task.Task;
    11.  
    12. public class TakeAnagogicOrt extends Task {
    13.  
    14.     private GroundItem ort = null;
    15.  
    16.     @Override
    17.     public void execute() {
    18.         if (ort.isVisible()) {
    19.             if (ort.interact("Take", "Anagogic ort")) {
    20.                 if (Execution.delayUntil(() -> Players.getLocal().isMoving(), 750)) {
    21.                     Execution.delayUntil(() -> !Players.getLocal().isMoving(), 2000);
    22.                 }
    23.             } else {
    24.                 Camera.passivelyTurnTo(ort);
    25.             }
    26.         } else {
    27.             final Path p = BresenhamPath.buildTo(ort);
    28.             if (p != null && p.step(true)) {
    29.                 Camera.passivelyTurnTo(ort);
    30.                 Execution.delayUntil(() -> ort != null && ort.isVisible(), 2000);
    31.             }
    32.         }
    33.     }
    34.  
    35.     @Override
    36.     public boolean validate() {
    37.         if (!Players.getLocal().isMoving()) {
    38.             ort = GroundItems.newQuery().names("Anagogic ort").actions("Take").reachable().results().first();
    39.         }
    40.         return ort != null;
    41.     }
    42.  
    43. }
    For le bot writers.
     

Share This Page

Loading...