diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-03 16:44:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-03 16:44:22 -0300 |
commit | 00307ecae2cb0a3655195e7c2b93df78b1489d4e (patch) | |
tree | 1b04d0511f91dff8e2df46fec978ccd7e2d5cbb8 /npc/functions/hub.txt | |
parent | c410645a87c853bec8f746119ed6c1ae1b405b3a (diff) | |
download | serverdata-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.txt | 5 |
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."); |