Addition of instant teleporting methods.

This commit is contained in:
MobiusDevelopment
2021-04-04 16:41:22 +00:00
parent a0996ae9a8
commit 8b1e96454a
253 changed files with 861 additions and 1085 deletions

View File

@@ -183,7 +183,7 @@ public class Orfen extends Quest
npc.getSpawn().setX(55024);
npc.getSpawn().setY(17368);
npc.getSpawn().setZ(-5412);
npc.teleToLocation(55024, 17368, -5412, false);
npc.teleToLocation(55024, 17368, -5412);
break;
}
default:
@@ -211,7 +211,7 @@ public class Orfen extends Quest
npc.getSpawn().setX(43577);
npc.getSpawn().setY(15985);
npc.getSpawn().setZ(-4396);
npc.teleToLocation(43577, 15985, -4396, false);
npc.teleToLocation(43577, 15985, -4396);
startQuestTimer("ORFEN_REFRESH", 10000, npc, null);
}
else if (npc.isInsideRadius2D(attacker, 1000) && !npc.isInsideRadius2D(attacker, 300) && (Rnd.get(10) == 0))