From a02292994ca10c523def79aec6c6ff731839da62 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 28 Feb 2020 03:47:38 -0300 Subject: I give up. Connect MQ2 back to system with a few lame error messages, finish Lua, and it is "good enough". --- npc/functions/hub.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'npc/functions/hub.txt') 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) -- cgit v1.2.3-60-g2f50