summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-03 16:44:22 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-03 16:44:22 -0300
commit00307ecae2cb0a3655195e7c2b93df78b1489d4e (patch)
tree1b04d0511f91dff8e2df46fec978ccd7e2d5cbb8 /npc/functions/hub.txt
parentc410645a87c853bec8f746119ed6c1ae1b405b3a (diff)
downloadserverdata-00307ecae2cb0a3655195e7c2b93df78b1489d4e.tar.gz
serverdata-00307ecae2cb0a3655195e7c2b93df78b1489d4e.tar.bz2
serverdata-00307ecae2cb0a3655195e7c2b93df78b1489d4e.tar.xz
serverdata-00307ecae2cb0a3655195e7c2b93df78b1489d4e.zip
All defeat conditions for Sagratha are here :>
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.");