From 00307ecae2cb0a3655195e7c2b93df78b1489d4e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 3 Jun 2019 16:44:22 -0300 Subject: All defeat conditions for Sagratha are here :> --- npc/functions/hub.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/functions/hub.txt') 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."); -- cgit v1.2.3-60-g2f50