diff options
Diffstat (limited to 'npc/003-1-1')
-rw-r--r-- | npc/003-1-1/yetiking.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/npc/003-1-1/yetiking.txt b/npc/003-1-1/yetiking.txt index 0e293d096..ab3bfba19 100644 --- a/npc/003-1-1/yetiking.txt +++ b/npc/003-1-1/yetiking.txt @@ -11,6 +11,8 @@ 003-1-1,94,21,0 script #YetiKingSummon NPC_SUMMONING_CIRC,{ .@q=getq(HurnscaldQuest_Celestia); + if (.@q > 1 && .@q < 99) + setq HurnscaldQuest_Celestia, 1; if (.@q == 1 && !.inUse) goto L_Summon; end; @@ -47,6 +49,10 @@ OnTimer5000: // You can only talk to him with SummonTalk. Only one player will summon. OnSummonTalk: .@q=getq(HurnscaldQuest_Celestia); + // If you had to return, erase quest progress + if (.@q > 1 && .@q < 99) + setq HurnscaldQuest_Celestia, 1; + if (.@q != 1) end; mesn "Dah Yeti King!!"; @@ -92,7 +98,11 @@ OnSummonTalk: close; OnWarper: - mes col("Warp to the Cave Of Trials? You still get EXP penalty if you die, beware!",9); + // If you had to return, erase quest progress + if (.@q > 2 && .@q < 99) + setq HurnscaldQuest_Celestia, 2; + + mes col("Warp to the Cave Of Trials? There is no EXP penalty, but if you die, you need to start everything again!",9); if (askyesno() == ASK_YES) { warp "001-6", 27, 180; } |