summaryrefslogtreecommitdiff
path: root/npc/018-2-1/warps.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-19 02:22:00 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-19 02:22:00 -0200
commit3363d32d83c8c5ffc95cca80f282d520029af4fa (patch)
treeed59781a5d385c7317d2e622bb12fbea52c46623 /npc/018-2-1/warps.txt
parent643f1a9701751de282cd4bb17a90ac6583fec91d (diff)
downloadserverdata-3363d32d83c8c5ffc95cca80f282d520029af4fa.tar.gz
serverdata-3363d32d83c8c5ffc95cca80f282d520029af4fa.tar.bz2
serverdata-3363d32d83c8c5ffc95cca80f282d520029af4fa.tar.xz
serverdata-3363d32d83c8c5ffc95cca80f282d520029af4fa.zip
Some Heroes Hold critical files
Diffstat (limited to 'npc/018-2-1/warps.txt')
-rw-r--r--npc/018-2-1/warps.txt84
1 files changed, 84 insertions, 0 deletions
diff --git a/npc/018-2-1/warps.txt b/npc/018-2-1/warps.txt
new file mode 100644
index 000000000..d040cba95
--- /dev/null
+++ b/npc/018-2-1/warps.txt
@@ -0,0 +1,84 @@
+// Map 018-2-1: Heroes' Hold - Castle manual warps
+// LoFQuest_HH
+// 1- Accepted
+// 2 - Master Finished
+//
+// Field 2
+// BITWISE:
+// 1 - Novice
+// 2 - Intermediary
+// 4 - Advanced
+// 8 - Expert
+// 16 - Master
+// 32 - Ultimate
+// 64 - Supreme
+// 128 - Saulc's Madness
+// 256 - The Mouboo Realm
+// 512 - The Moubootaur Dungeon
+
+018-2-1,26,27,0 script #018-2-1_26_27 NPC_HIDDEN,0,0,{
+ end;
+
+OnTouch:
+ .@hh=getq(LoFQuest_HH);
+ if (.@hh <= 0) {
+ npctalk3 l("The stairs lead to nowhere. However, there is a magic sigil on the bottom.");
+ end;
+ }
+ .@q=getq2(LoFQuest_HH);
+ mesn l("Heroes Hold");
+ mes l("This is only for the skilled players. Newbies, KEEP OUT!");
+ mes l("Time Limit: 20 minutes on any dungeon.");
+ mes l("Please select target dungeon:");
+ mes "";
+ select
+ l("Sorry, I am a newbie."),
+ rif(!(.@q & HH_NOVICE), l("Novice Dungeon")),
+ rif(!(.@q & HH_INTERMEDIARY), l("Intermediary Dungeon")),
+ rif(!(.@q & HH_ADVANCED), l("Advanced Dungeon")),
+ rif(!(.@q & HH_EXPERT), l("Expert Dungeon")),
+ rif((.@q & HH_REQUISITE), l("Master Dungeon")),
+ l("None at the moment");
+ mes "";
+ switch (@menu) {
+ case 2:
+ @HH_LEVEL=HH_NOVICE;
+ @HH_TIMER=0;
+ warp "018-2-2", 37, 196;
+ addtimer(500, "#HH_CONTROLLER01::OnPlayerCycle");
+ closedialog;
+ break;
+ case 3:
+ @HH_LEVEL=HH_INTERMEDIARY;
+ @HH_TIMER=0;
+ warp "018-2-2", 204, 40;
+ addtimer(500, "#HH_CONTROLLER01::OnPlayerCycle");
+ closedialog;
+ break;
+ case 4:
+ @HH_LEVEL=HH_ADVANCED;
+ @HH_TIMER=0;
+ warp "018-2-2", 209, 178;
+ addtimer(500, "#HH_CONTROLLER01::OnPlayerCycle");
+ closedialog;
+ break;
+ case 5:
+ @HH_LEVEL=HH_EXPERT;
+ @HH_TIMER=0;
+ warp "018-2-2", 51, 40;
+ addtimer(500, "#HH_CONTROLLER01::OnPlayerCycle");
+ closedialog;
+ break;
+ case 6:
+ @HH_LEVEL=HH_MASTER;
+ @HH_TIMER=0;
+ warp "018-2-3", 132, 92;
+ addtimer(500, "#HH_CONTROLLER01::OnPlayerCycle");
+ closedialog;
+ break;
+
+ }
+ close;
+}
+
+