Browse Source

can teleport to owned mines

lakebane-mine-tele
FatBoy-DOTC 3 months ago
parent
commit
a7ab38f40c
  1. 1
      src/engine/net/client/handlers/MerchantMsgHandler.java

1
src/engine/net/client/handlers/MerchantMsgHandler.java

@ -290,6 +290,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
if (tower == null) if (tower == null)
return; return;
Vector3fImmutable teleportLoc = Vector3fImmutable.getRandomPointOnCircle(tower.getLoc(), 10); Vector3fImmutable teleportLoc = Vector3fImmutable.getRandomPointOnCircle(tower.getLoc(), 10);
ChatManager.chatSystemInfo(player, "You Will Teleport To " + mineTele.getParentZone().getParent().getName() + "'s Mine In " + time + " Seconds.");
if (time > 0) { if (time > 0) {
//TODO add timer to teleport //TODO add timer to teleport
TeleportJob tj = new TeleportJob(player, npc, teleportLoc, origin, true); TeleportJob tj = new TeleportJob(player, npc, teleportLoc, origin, true);

Loading…
Cancel
Save