summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-30 21:21:11 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-30 21:21:11 -0300
commitb645914b726a9f401a44f3883e9e3ba9e7e35b42 (patch)
tree2bf8307df08167656cabdb6937d7b1eae20cc297 /npc/functions/hub.txt
parent67776c8baac25a106550eb750c0cab28f96d8629 (diff)
downloadserverdata-b645914b726a9f401a44f3883e9e3ba9e7e35b42.tar.gz
serverdata-b645914b726a9f401a44f3883e9e3ba9e7e35b42.tar.bz2
serverdata-b645914b726a9f401a44f3883e9e3ba9e7e35b42.tar.xz
serverdata-b645914b726a9f401a44f3883e9e3ba9e7e35b42.zip
Fix typos, and force HurnscaldQuest_Celestia to be reset on death/logout
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index a2a981da9..5263a62c7 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -214,6 +214,9 @@ function script HUB_Logout {
setq1 HurnscaldQuest_Sagratha, 3;
setq3 HurnscaldQuest_Sagratha, 0;
}
+ // Died or logged out during Yeti King Fight
+ if (getq(HurnscaldQuest_Celestia) > 1)
+ setq HurnscaldQuest_Celestia, 1;
// First death produces a warning message
if (PC_DIE_COUNTER <= 1 && .@dead) {
dispbottom l("Dying outside a town square will cause EXP loss.");