summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-01 23:49:59 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-01 23:49:59 -0300
commitd39218021740cb5b518ff4337f458aa770f43306 (patch)
treec2642f8586fe6f27cf1b40b03bb20d41f49d6745
parentccc42d23b79617fbe99ba3f8c39c41dde5e31b2c (diff)
downloadserverdata-d39218021740cb5b518ff4337f458aa770f43306.tar.gz
serverdata-d39218021740cb5b518ff4337f458aa770f43306.tar.bz2
serverdata-d39218021740cb5b518ff4337f458aa770f43306.tar.xz
serverdata-d39218021740cb5b518ff4337f458aa770f43306.zip
Okay, without the boss room, I can't advance here even if I wanted to.
-rw-r--r--npc/015-8/sealedshrine.txt57
1 files changed, 55 insertions, 2 deletions
diff --git a/npc/015-8/sealedshrine.txt b/npc/015-8/sealedshrine.txt
index de27234c0..68d46dff0 100644
--- a/npc/015-8/sealedshrine.txt
+++ b/npc/015-8/sealedshrine.txt
@@ -470,7 +470,7 @@ OnInit:
end;
}
-015-8,91,109,0 script #SaggyBarrier NPC_HIDDEN,5,0,{
+015-8,93,109,0 script #SaggyBarrier NPC_HIDDEN,2,0,{
end;
OnTouch:
@@ -498,7 +498,7 @@ OnTouch:
}
-015-8,91,107,0 script #SaggyBarrier2 NPC_HIDDEN,5,0,{
+015-8,93,107,0 script #SaggyBarrier2 NPC_HIDDEN,2,0,{
end;
OnTouch:
@@ -517,3 +517,56 @@ OnTouch:
}
+
+
+
+
+
+// The Sealed Shrine Itself and the guardians
+015-8,96,22,0 script #SaggyShrineRight NPC_FAKIR,{
+ mesn l("Guardian Statue");
+ mesq l("Answer Me... Or I will devour you...");
+ close;
+
+OnInit:
+ .distance=5;
+ end;
+}
+
+015-8,93,22,0 script #SaggyShrineLeft NPC_FAKIR,{
+ mesn l("Guardian Statue");
+ mesq l("Answer Me... Or I will devour you...");
+ close;
+
+OnInit:
+ .distance=5;
+ end;
+}
+
+015-8,94,20,0 script #ShrineGate NPC_NO_SPRITE,1,0,{
+
+ .@q=getq(HurnscaldQuest_Sagratha);
+ .@q3=getq3(HurnscaldQuest_Sagratha);
+ // Cheater Detected
+ if (!MAGIC_LVL || .@q < 4) {
+ setq HurnscaldQuest_Sagratha, 0, 0, 0;
+ sc_end SC_CASH_PLUSEXP;
+ sc_end SC_OVERLAPEXPUP;
+ sc_start SC_OVERLAPEXPUP, 300000, -20;
+ warp "Save", 0, 0;
+ closeclientdialog;
+ end;
+ return false;
+ }
+
+ // Quest Status 4: Riddle pending
+ if (.@q == 4) {
+ npctalk3 l("The gates are firmly shut, no amount of force will break them.");
+ }
+
+ // Quest Status 5: Riddle solved, access granted
+ // Quest Status 6: Boss defeated, no instance needed
+ dispbottom "ERROR";
+ end;
+}
+