diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-07 20:41:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-07 20:41:15 -0300 |
commit | 4d537a4bf21fd6cc59581b9e50a0ef9ea38a68ab (patch) | |
tree | 08aa289b516874f708814b576056ab1d13d927a5 /npc/functions | |
parent | bce38030b811df1b0ac1396049280b8b76c40708 (diff) | |
download | serverdata-4d537a4bf21fd6cc59581b9e50a0ef9ea38a68ab.tar.gz serverdata-4d537a4bf21fd6cc59581b9e50a0ef9ea38a68ab.tar.bz2 serverdata-4d537a4bf21fd6cc59581b9e50a0ef9ea38a68ab.tar.xz serverdata-4d537a4bf21fd6cc59581b9e50a0ef9ea38a68ab.zip |
This quest is difficult. Death and/or Logout WILL reset the quest state
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/hub.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index b26c3baaa..311cc0272 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -75,6 +75,18 @@ function script HUB_Logout { deltimer(.@n$+"::OnE11"); deltimer(.@n$+"::OnE12"); } + // Died or logged out on Player Story 6 - Forgotten Shrine + if (compare(.@mapa$, "brb3")) { + //.@n$=instance_npcname("#Core02331"); + .@q=getq(LoFQuest_Barbara); + // Reset quest to: Forgotten Chamber Puzzle incomplete + if (.@q < 4) { + setq1 LoFQuest_Barbara, 1; + setq3 LoFQuest_Barbara, 1; + dispbottom col(l("WARNING: You died at Forgotten Shrine and the Shrine defense triggered."), 1); + dispbottom col(l("WARNING: Your progress on the quest was lost!"), 1); + } + } // Died or logged out during Sagratha Fight if (compare(.@mapa$, "sgt2")) { setq1 HurnscaldQuest_Sagratha, 3; |