summaryrefslogtreecommitdiff
path: root/npc/015-8/sealedshrine.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-03 09:49:24 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-03 09:49:24 -0300
commitc6d19cbd0fb219722d9045df403955fbc8c7a478 (patch)
treeb9fd3d064e90e3614a462405cfea9b0e92503fb0 /npc/015-8/sealedshrine.txt
parentc10e529990bdb639ab69f42c856812de0fc8d160 (diff)
downloadserverdata-c6d19cbd0fb219722d9045df403955fbc8c7a478.tar.gz
serverdata-c6d19cbd0fb219722d9045df403955fbc8c7a478.tar.bz2
serverdata-c6d19cbd0fb219722d9045df403955fbc8c7a478.tar.xz
serverdata-c6d19cbd0fb219722d9045df403955fbc8c7a478.zip
You can now enter on Sagratha's Boss Room
Diffstat (limited to 'npc/015-8/sealedshrine.txt')
-rw-r--r--npc/015-8/sealedshrine.txt36
1 files changed, 35 insertions, 1 deletions
diff --git a/npc/015-8/sealedshrine.txt b/npc/015-8/sealedshrine.txt
index c356d1408..c892163f1 100644
--- a/npc/015-8/sealedshrine.txt
+++ b/npc/015-8/sealedshrine.txt
@@ -621,8 +621,42 @@ OnInit:
}
// Quest Status 5: Riddle solved, access granted
+ if (.@q == 5) {
+ enable_items();
+ mesc l(".:: The Mouboo Temple ::."), 3;
+ mesc l("WARNING: You are about to enter a HIGH-RISK zone."), 1;
+ mesc l("We advise you to change your equipment now."), 1;
+ if (getmapusers("015-8") > 1)
+ mesc l("THIS IS A SOLO FIGHT, TEAMS ARE NOT ALLOWED INSIDE."), 1;
+ next;
+ disable_items();
+ if (askyesno() == ASK_YES) {
+ closeclientdialog;
+
+ .@q2=getq2(HurnscaldQuest_Sagratha);
+ // Map name limit: 4 chars (sgt1)
+ .@mapn$="sgt1@"+getcharid(0);
+ .@map2$="sgt2@"+getcharid(0);
+ if (!(isinstance(.@q2) && .@q2 != 0)) {
+ .@inst = instance_create("Sagratha House "+getcharid(0), getcharid(3), IOT_CHAR);
+ instance_attachmap("014-5-1", .@inst, false, .@mapn$);
+ //instance_attachmap("015-8", .@inst, false, .@mapn$);
+ instance_attachmap("015-8-1", .@inst, false, .@map2$);
+ // 40 minutes (2400s) inside, or 5 minutes (300s) outside
+ instance_set_timeout(2400, 300, .@inst);
+ instance_init(.@inst);
+ setq2 HurnscaldQuest_Sagratha, .@inst;
+ }
+ warp .@map2$, 50, 78;
+ end;
+ }
+ close;
+ }
+
// Quest Status 6: Boss defeated, no instance needed
- dispbottom "ERROR";
+ if (.@q >= 6) {
+ warp "015-8-1", 50, 78;
+ }
end;
}