summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 168823cf4..81462ac40 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -61,6 +61,11 @@ function script HUB_Logout {
if (.@mapa$ == "020-7-1") {
callfunc("BSClearNest", @nestid);
}
+ // Died or logged out during Sagratha Fight
+ if (.@mapa$ ~= "sgt2*") {
+ setq1 HurnscaldQuest_Sagratha, 3;
+ setq3 HurnscaldQuest_Sagratha, 0;
+ }
// First death produces a warning message
if (PC_DIE_COUNTER <= 1 && .@dead) {
dispbottom l("Dying outside a town square will cause EXP loss.");