summaryrefslogtreecommitdiff
path: root/npc/003-1-1/yetiking.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-07 13:57:59 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-07 13:57:59 -0300
commita7644cff4f703d13600300b777c7a87c2108cecc (patch)
treef072a41e969aa81125cc127ed1a58a29b6feb030 /npc/003-1-1/yetiking.txt
parent2ddb9cf07b3616b28f65f23a6f1772f0b0e5c094 (diff)
downloadserverdata-a7644cff4f703d13600300b777c7a87c2108cecc.tar.gz
serverdata-a7644cff4f703d13600300b777c7a87c2108cecc.tar.bz2
serverdata-a7644cff4f703d13600300b777c7a87c2108cecc.tar.xz
serverdata-a7644cff4f703d13600300b777c7a87c2108cecc.zip
ZONE the map areas, so there's no penalty.
....and a few measures against a certain GM we all love. :inGame__4:
Diffstat (limited to 'npc/003-1-1/yetiking.txt')
-rw-r--r--npc/003-1-1/yetiking.txt12
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;
}