Advertisement
Guest User

Untitled

a guest
May 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. private Position lastPosKill;
  2.  
  3. public intonLoop(){
  4. bdk = npcs.closest("brutal drag");
  5. if (bdk != null && !myPlayer().isUnderAttack) {
  6. bdk.interact("attack");
  7. lastPosKill = myPlayer().getPosition;
  8. }
  9. if (!prayer.isActivated(prayers.PROTECT_FROM_MAGIC) && myPlayer().isUnderAttack) {
  10. prayer.activate(prayers.PROTECT_FROM_MAGIC);
  11. }
  12.  
  13. if (CAMELOT_SPAWN.contains(myPlayer) && LUMMY_SPAWN.contains(myPlayer) && FALLY_SPAWN.contains(myPlayer)){
  14. webWalk(lastPosKill);
  15. }
  16.  
  17. return 0;
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement