summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-11-27 13:17:04 -0300
committerJesusaves <cpntb1@ymail.com>2021-11-27 13:17:04 -0300
commit9cb76fe689100b5170048bb0e167f90616930e9f (patch)
treefa122cf2a806a4f42df99093b9e94a45069657c7 /npc
parent16ba0eb51713089b1b14c9d8d6b3b73a3a4cd7bd (diff)
downloadserverdata-9cb76fe689100b5170048bb0e167f90616930e9f.tar.gz
serverdata-9cb76fe689100b5170048bb0e167f90616930e9f.tar.bz2
serverdata-9cb76fe689100b5170048bb0e167f90616930e9f.tar.xz
serverdata-9cb76fe689100b5170048bb0e167f90616930e9f.zip
Ensure Sagratha Campaign will absolutely be cleared up correctly
Diffstat (limited to 'npc')
-rw-r--r--npc/015-8-1/campaign.txt1
-rw-r--r--npc/functions/hub.txt11
2 files changed, 12 insertions, 0 deletions
diff --git a/npc/015-8-1/campaign.txt b/npc/015-8-1/campaign.txt
index 890cf2803..1736fdd2a 100644
--- a/npc/015-8-1/campaign.txt
+++ b/npc/015-8-1/campaign.txt
@@ -165,6 +165,7 @@ OnSagrathaReallyDie:
deltimer(.@n$+"::OnW01");
deltimer(.@n$+"::OnW02");
deltimer(.@n$+"::OnW03");
+ deltimer(.@n$+"::OnW04");
killmonster(.@m$, .@n$+"::OnError");
unitkill(.BOSS);
mapannounce(.@m$, "##2"+l("You lose!"), 0);
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 2a6dd9ba0..5c926ccb5 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -226,6 +226,17 @@ function script HUB_Logout {
if (compare(.@mapa$, "sgt2")) {
setq1 HurnscaldQuest_Sagratha, 3;
setq3 HurnscaldQuest_Sagratha, 0;
+ deltimer("#SaggyDungeonCore::OnW01");
+ deltimer("#SaggyDungeonCore::OnW02");
+ deltimer("#SaggyDungeonCore::OnW03");
+ deltimer("#SaggyDungeonCore::OnW04");
+ if (instance_id() >= 0) {
+ .@n$=instance_npcname("#SaggyDungeonCore");
+ deltimer(.@n$+"::OnW01");
+ deltimer(.@n$+"::OnW02");
+ deltimer(.@n$+"::OnW03");
+ deltimer(.@n$+"::OnW04");
+ }
}
// Died or logged out during a Boss Raid event
if (compare(.@mapa$, "fyrb")) {