diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index fdccd482d..53df48131 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -22,6 +22,19 @@ function script HUB_Login { if (CHAREG_CLEANUP < gettimetick(2)-PVP_WAITTIME) deletearray PVP_COOLDOWN; + // Mirror Lake functionality + if (getvaultid()) { + .@gto=get_byte(##00_INFO, 3); + .@mlp=get_nibble(##00_INFO, 5); + // Target: Us. Handle Mirror Lakes + if (.@gto == $WID) { + switch (.@mlp) { + case 1: warp "018-7-1", 90, 47; break; + default: warp "014-4", 28, 31; break; + } + debugmes("Vault User %d moved to lake %d.", getvaultid(), .@mlp); + } + } return; } |