Guest User

Untitled

a guest
Aug 28th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. /**
  2. * @filename Nihlathak.js
  3. * @author kolton
  4. * @desc kill Nihlathak
  5. */
  6.  
  7. function Nihlathak() {
  8. Town.goToTown(5);
  9. // Town.doChores();
  10. Town.move("portalspot");
  11.  
  12. if (!Pather.usePortal(124, null)) {
  13. Pather.useWaypoint(123);
  14. Pather.moveToExit(124, true);
  15. if (!Pather.moveToExit(124, true)) {
  16. throw new Error("Failed to go to Nihlathak");
  17. }
  18.  
  19. Pather.moveToPreset(me.area, 2, 462, 0, 0, false, true);
  20.  
  21. if (Config.Nihlathak.ViperQuit && getUnit(1, 597)) {
  22. print("Tomb Vipers found.");
  23.  
  24. return true;
  25. }
  26.  
  27. Attack.kill(526); // Nihlathak
  28. Pickit.pickItems();
  29.  
  30. return true;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment