diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index b5191fc6d..1d77f224e 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -70,7 +70,10 @@ function script HUB_Logout { } // Died or logged out on Player Story 5 - Forgotten Throne Room if (compare(.@mapa$, "hmc")) { - .@n$=instance_npcname("#Core02331"); + if (@instid > 0) + .@n$=instance_npcname("#Core02331", @instid); + else + .@n$=instance_npcname("#Core02331"); deltimer(.@n$+"::OnW01"); deltimer(.@n$+"::OnW02"); deltimer(.@n$+"::OnE07"); @@ -79,6 +82,7 @@ function script HUB_Logout { deltimer(.@n$+"::OnE10"); deltimer(.@n$+"::OnE11"); deltimer(.@n$+"::OnE12"); + killmonsterall(getmap()); } // Died or logged out on Player Story 6 - Forgotten Shrine if (compare(.@mapa$, "brb3")) { |