summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-28 03:47:38 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-28 03:47:38 -0300
commita02292994ca10c523def79aec6c6ff731839da62 (patch)
treeab01d419d4d7a3c888c224c43c16bd60ad552332 /npc/functions/hub.txt
parentd2006095236f2b0374f122c87db33c392e7867dc (diff)
downloadserverdata-a02292994ca10c523def79aec6c6ff731839da62.tar.gz
serverdata-a02292994ca10c523def79aec6c6ff731839da62.tar.bz2
serverdata-a02292994ca10c523def79aec6c6ff731839da62.tar.xz
serverdata-a02292994ca10c523def79aec6c6ff731839da62.zip
I give up.
Connect MQ2 back to system with a few lame error messages, finish Lua, and it is "good enough".
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 8367d9bdf..e38a072e3 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -84,6 +84,12 @@ function script HUB_Logout {
if (.@mapa$ == "020-7-1") {
callfunc("BSClearNest", @nestid);
}
+ // Died or logged out on Player Story 2 - Magic School Port
+ if (compare(.@mapa$, "0030")) {
+ if (@ASSASSIN > 0)
+ delcells "MQ2Wall"+getcharid(0);
+ killmonsterall(getmap());
+ }
// Died or logged out on Player Story 5 - Forgotten Throne Room
if (compare(.@mapa$, "hmc")) {
if (@instid > 0)