summaryrefslogtreecommitdiff
path: root/npc/015-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-31 10:45:46 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-31 10:45:46 -0300
commitf04057d32d6b52f7b4db334d974a165a380d2e27 (patch)
treeb4d1c7abbbbe46b5439f761d34d04847df97a3f6 /npc/015-3
parenta12b795ba0058db724edcb5f840db74c54168d77 (diff)
downloadserverdata-f04057d32d6b52f7b4db334d974a165a380d2e27.tar.gz
serverdata-f04057d32d6b52f7b4db334d974a165a380d2e27.tar.bz2
serverdata-f04057d32d6b52f7b4db334d974a165a380d2e27.tar.xz
serverdata-f04057d32d6b52f7b4db334d974a165a380d2e27.zip
Force players to use Waterfall. Regenerate maps. Fix file location.
Diffstat (limited to 'npc/015-3')
-rw-r--r--npc/015-3/_import.txt1
-rw-r--r--npc/015-3/_mobs.txt7
-rw-r--r--npc/015-3/arkim.txt1
-rw-r--r--npc/015-3/logic.txt27
4 files changed, 33 insertions, 3 deletions
diff --git a/npc/015-3/_import.txt b/npc/015-3/_import.txt
index b733b05a3..2a8f058b8 100644
--- a/npc/015-3/_import.txt
+++ b/npc/015-3/_import.txt
@@ -4,3 +4,4 @@
"npc/015-3/_mobs.txt",
"npc/015-3/_warps.txt",
"npc/015-3/arkim.txt",
+"npc/015-3/logic.txt",
diff --git a/npc/015-3/_mobs.txt b/npc/015-3/_mobs.txt
index 41536efe9..c8aa5cb47 100644
--- a/npc/015-3/_mobs.txt
+++ b/npc/015-3/_mobs.txt
@@ -2,11 +2,11 @@
// Map 015-3: Butterfly Caves mobs
015-3,160,179,19,18 monster Cave Bat 1039,24,30000,40000
015-3,142,31,24,14 monster Green Slime 1085,5,30000,40000
-015-3,118,179,22,18 monster Cave Snake 1035,12,30000,20000
+015-3,118,179,22,18 monster Cave Snake 1035,9,30000,20000
015-3,157,110,22,18 monster Snake 1122,12,30000,20000
015-3,144,94,32,39 monster Black Scorpion 1074,12,30000,20000
015-3,156,66,24,14 monster Robin Bandit 1153,5,30000,40000
-015-3,113,100,55,37 monster Red Slime 1092,57,30000,40000
+015-3,113,100,55,37 monster Red Slime 1092,47,30000,40000
015-3,107,177,14,8 monster Archant 1026,2,30000,40000
015-3,46,44,31,18 monster Night Scorpion 1077,1,3600000,1800000
015-3,86,59,28,32 monster Terranite 1167,3,100000,40000
@@ -14,5 +14,6 @@
015-3,84,142,23,50 monster Troll 1171,6,100000,30000
015-3,32,37,31,12 monster Copper Slime Mother 1238,1,300000,120000
015-3,38,49,26,17 monster Gobo Bear 1214,5,40000,20000
+015-3,132,189,8,10 monster Snake 1122,1,30000,20000
015-3,102,105,81,87 monster Small Emerald Bif 1104,6,65000,45000
-015-3,98,123,24,62 monster Copper Slime 1088,12,40000,40000
+015-3,98,123,24,62 monster Copper Slime 1088,10,40000,40000
diff --git a/npc/015-3/arkim.txt b/npc/015-3/arkim.txt
index f39b33dea..2d226a64f 100644
--- a/npc/015-3/arkim.txt
+++ b/npc/015-3/arkim.txt
@@ -165,6 +165,7 @@ L_PirateMap:
else if (.@q == 3) pmap_intro();
else if (.@q == 4) pmap_wrong();
// IMPLICIT FALLTHROUGH
+ .@q = getq(HurnscaldQuest_PirateCave);
if (.@q == 5) pmap_right();
close;
diff --git a/npc/015-3/logic.txt b/npc/015-3/logic.txt
new file mode 100644
index 000000000..00440173b
--- /dev/null
+++ b/npc/015-3/logic.txt
@@ -0,0 +1,27 @@
+// TMW2 scripts.
+// Authors:
+// Diogo_RBG
+// Jesusalva
+// Description:
+// Pirate Caves gateway main logic
+// Adapted from TMW-BR for Moubootaur Legends
+
+015-3,128,161,0 script #0153WG1 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ compareandsetq HurnscaldQuest_PirateCave, 3, 4;
+ compareandsetq HurnscaldQuest_PirateCave, 5, 6;
+ slide 166, 38;
+ end;
+}
+
+015-3,132,23,0 script #0153WG2 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ if (getq(HurnscaldQuest_PirateCave) >= 6) {
+ slide 98, 162;
+ }
+ end;
+}
+
+