summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-09-27 14:07:07 -0300
committerJesusaves <cpntb1@ymail.com>2022-09-27 14:07:07 -0300
commitc9fb77576d9fd67439344e5929106c5f115132c8 (patch)
tree0aa1fbc14abd8a198809c8431e5d83240628a6bf /npc
parent054a449b3919ebff9579e48d22948ec389d8bef3 (diff)
downloadserverdata-c9fb77576d9fd67439344e5929106c5f115132c8.tar.gz
serverdata-c9fb77576d9fd67439344e5929106c5f115132c8.tar.bz2
serverdata-c9fb77576d9fd67439344e5929106c5f115132c8.tar.xz
serverdata-c9fb77576d9fd67439344e5929106c5f115132c8.zip
Include map variations for Boss Raid: Normal Cave & Inn
Diffstat (limited to 'npc')
-rw-r--r--npc/001-13-0/_import.txt2
-rw-r--r--npc/001-13-1/_import.txt2
-rw-r--r--npc/001-13-2/_import.txt2
-rw-r--r--npc/001-13/main.txt10
-rw-r--r--npc/_import.txt3
5 files changed, 17 insertions, 2 deletions
diff --git a/npc/001-13-0/_import.txt b/npc/001-13-0/_import.txt
new file mode 100644
index 000000000..574eefa40
--- /dev/null
+++ b/npc/001-13-0/_import.txt
@@ -0,0 +1,2 @@
+// Map 001-13-0: Showdown
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
diff --git a/npc/001-13-1/_import.txt b/npc/001-13-1/_import.txt
new file mode 100644
index 000000000..7cdcf9685
--- /dev/null
+++ b/npc/001-13-1/_import.txt
@@ -0,0 +1,2 @@
+// Map 001-13-1: Showdown
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
diff --git a/npc/001-13-2/_import.txt b/npc/001-13-2/_import.txt
new file mode 100644
index 000000000..58b5a77d3
--- /dev/null
+++ b/npc/001-13-2/_import.txt
@@ -0,0 +1,2 @@
+// Map 001-13-2: Showdown
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
diff --git a/npc/001-13/main.txt b/npc/001-13/main.txt
index 619c263f7..b2921aa18 100644
--- a/npc/001-13/main.txt
+++ b/npc/001-13/main.txt
@@ -79,11 +79,12 @@ function script FYRaid_Select {
return;
}
// Attach map
+ // TODO: Different scenarios: Block Castle, Sewer, Concrete Dungeon, Crypt, Desert Castle, Mountain, Snowland, Lake Region, Ukar Shrine, Woodland...
+ .@lv = $FYRAID_LV[.@i];
.@mp$="fyrb@"+getcharid(0);
- instance_attachmap("001-13", .@inst, false, .@mp$);
+ instance_attachmap(sprintf("001-13-%d", (.@lv % 3)), .@inst, false, .@mp$);
// Recreate the boss
- .@lv = $FYRAID_LV[.@i];
.@mob=monster(.@mp$, 47, 33, $RAIDING_BOSS$, WanderingShadow, 1, "sBossRaid::OnBossDie");
setunitdata(.@mob, UDT_LEVEL, min(.@lv * 7, 200));
setunitdata(.@mob, UDT_STR, .@lv * 4);
@@ -117,6 +118,7 @@ function script FYRaid_Select {
addtimer 40000, "sBossRaid::OnPump";
dispbottom l("Time left: %s", FuzzyTime(@tm));
closeclientdialog;
+ // TODO: Spawn an auxiliar every 10 levels
return;
}
@@ -226,3 +228,7 @@ OnClose:
}
001-13 mapflag zone MMO
+001-13-0 mapflag zone MMO
+001-13-1 mapflag zone MMO
+001-13-2 mapflag zone MMO
+
diff --git a/npc/_import.txt b/npc/_import.txt
index 4822a2d48..1d7d82c9f 100644
--- a/npc/_import.txt
+++ b/npc/_import.txt
@@ -9,6 +9,9 @@
@include "npc/001-10/_import.txt"
@include "npc/001-11/_import.txt"
@include "npc/001-12/_import.txt"
+@include "npc/001-13-0/_import.txt"
+@include "npc/001-13-1/_import.txt"
+@include "npc/001-13-2/_import.txt"
@include "npc/001-13/_import.txt"
@include "npc/001-14/_import.txt"
@include "npc/001-2/_import.txt"