Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @filename Nihlathak.js
- * @author kolton
- * @desc kill Nihlathak
- */
- function Nihlathak() {
- Town.goToTown(5);
- // Town.doChores();
- Town.move("portalspot");
- if (!Pather.usePortal(124, null)) {
- Pather.useWaypoint(123);
- Pather.moveToExit(124, true);
- if (!Pather.moveToExit(124, true)) {
- throw new Error("Failed to go to Nihlathak");
- }
- }
- Pather.moveToPreset(me.area, 2, 462, 0, 0, false, true);
- if (Config.Nihlathak.ViperQuit && getUnit(1, 597)) {
- print("Tomb Vipers found.");
- return true;
- }
- Attack.kill(526); // Nihlathak
- Pickit.pickItems();
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement