From 12baf93961d1376494cbc534432975a577428af8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 7 Aug 2019 23:07:14 -0300 Subject: Proper cleanup of events at death during Player Story 5 - Forgotten Throne Room --- npc/functions/hub.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'npc/functions/hub.txt') diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index bf8df67ec..553d0955a 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -63,6 +63,18 @@ function script HUB_Logout { if (.@mapa$ == "020-7-1") { callfunc("BSClearNest", @nestid); } + // Died or logged out on Player Story 5 - Forgotten Throne Room + if (.@mapa$ ~= "hmc*") { + .@n$=instance_npcname("#Core02331"); + deltimer(.@n$+"::OnW01"); + deltimer(.@n$+"::OnW02"); + deltimer(.@n$+"::OnE07"); + deltimer(.@n$+"::OnE08"); + deltimer(.@n$+"::OnE09"); + deltimer(.@n$+"::OnE10"); + deltimer(.@n$+"::OnE11"); + deltimer(.@n$+"::OnE12"); + } // Died or logged out during Sagratha Fight if (.@mapa$ ~= "sgt2*") { setq1 HurnscaldQuest_Sagratha, 3; -- cgit v1.2.3-60-g2f50