summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-07 23:07:14 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-07 23:07:14 -0300
commit12baf93961d1376494cbc534432975a577428af8 (patch)
tree121e9a0d0805a0d5d31f132d9dffd1c9fe6010c4 /npc/functions/hub.txt
parent591adcce4dc3972277ad559ec5aca9e384cf6ffc (diff)
downloadserverdata-12baf93961d1376494cbc534432975a577428af8.tar.gz
serverdata-12baf93961d1376494cbc534432975a577428af8.tar.bz2
serverdata-12baf93961d1376494cbc534432975a577428af8.tar.xz
serverdata-12baf93961d1376494cbc534432975a577428af8.zip
Proper cleanup of events at death during Player Story 5 - Forgotten Throne Room
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt12
1 files changed, 12 insertions, 0 deletions
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;