From ef3e0f0f4d4fc3b63064d81e4d8d4819e871fd04 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jun 2018 17:57:34 -0300 Subject: Everything which was missing on Celestia Quest --- npc/soren-2/main.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'npc/soren-2/main.txt') diff --git a/npc/soren-2/main.txt b/npc/soren-2/main.txt index b52aad782..d8ad7dd75 100644 --- a/npc/soren-2/main.txt +++ b/npc/soren-2/main.txt @@ -37,10 +37,12 @@ soren-2,38,29,0 script #SorenSanctum NPC_NO_SPRITE,0,0,{ OnTouch: if (@sorensanctum >= 5 && !mobcount(.map$, "#SorenSanctum::OnCheck")) { + /* dispbottom l("Error, contact Jesusalva! Missing warp. Healing & Reseting temporaly."); - percentheal 100, 100; - @sorensanctum=@sorensanctum-5; - //compareandsetq HurnscaldQuest_Celestia, 4, 5; + percentheal 100, 100;*/ + @sorensanctum=0; + compareandsetq HurnscaldQuest_Celestia, 4, 5; + warp "001-7", 30, 42; } end; @@ -180,6 +182,10 @@ OnStart: // it is harder this way, so I'm not touching on quest state :> if (getq(HurnscaldQuest_Celestia) != 4) end; + addtimer(200, "#SorenSanctum::OnStep1"); // Allow client to update stuff + end; + +OnStep1: // When we reach here, we have both a player attached, and the player was already warped. // I don't know if you walked in and out the house, though. If you do, this will loop... // Which is actually bad for you, as that will reset your progress!! -- cgit v1.2.3-60-g2f50