summaryrefslogtreecommitdiff
path: root/npc/025-2-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/025-2-3')
-rw-r--r--npc/025-2-3/_import.txt5
-rw-r--r--npc/025-2-3/_mobs.txt6
-rw-r--r--npc/025-2-3/_warps.txt3
-rw-r--r--npc/025-2-3/boss.txt30
4 files changed, 44 insertions, 0 deletions
diff --git a/npc/025-2-3/_import.txt b/npc/025-2-3/_import.txt
new file mode 100644
index 000000000..a33523005
--- /dev/null
+++ b/npc/025-2-3/_import.txt
@@ -0,0 +1,5 @@
+// Map 025-2-3: Pinkie Cave
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/025-2-3/_mobs.txt",
+"npc/025-2-3/_warps.txt",
+"npc/025-2-3/boss.txt",
diff --git a/npc/025-2-3/_mobs.txt b/npc/025-2-3/_mobs.txt
new file mode 100644
index 000000000..62a562acc
--- /dev/null
+++ b/npc/025-2-3/_mobs.txt
@@ -0,0 +1,6 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 025-2-3: Pinkie Cave mobs
+025-2-3,55,39,13,14 monster Pinkie 1132,15,4000,8000
+025-2-3,54,41,15,12 monster Pinkie Suseran 1419,15,4000,8000
+025-2-3,56,41,17,10 monster Pinkie Maximus 1249,13,20000,2500
+025-2-3,48,40,26,6 monster Cave Maggot 1027,6,2000,20000
diff --git a/npc/025-2-3/_warps.txt b/npc/025-2-3/_warps.txt
new file mode 100644
index 000000000..ab1920396
--- /dev/null
+++ b/npc/025-2-3/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 025-2-3: Pinkie Cave warps
+025-2-3,21,46,0 warp #025-2-3_21_46 0,1,025-2-2,67,61
diff --git a/npc/025-2-3/boss.txt b/npc/025-2-3/boss.txt
new file mode 100644
index 000000000..30d374c2b
--- /dev/null
+++ b/npc/025-2-3/boss.txt
@@ -0,0 +1,30 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// Pinkie Emperor Boss
+
+025-2-3,0,0,0 script #BossCtrl_025-2-3 NPC_HIDDEN,{
+ end;
+
+// Respawn every hour
+OnTimer3600000:
+ stopnpctimer;
+OnInit:
+ setarray .xp, 268, 55, 371, 482, 212;
+ setarray .yp, 90, 45, 38, 114, 148;
+ .@tg=rand(getarraysize(.xp)-1);
+ monster "025-2-3", .xp[.@tg], .yp[.@tg], strmobinfo(1, PinkieEmperor), PinkieEmperor, 1, "#BossCtrl_025-2-3::OnBossDeath";
+ end;
+
+OnBossDeath:
+ initnpctimer;
+ .@party=getcharid(1);
+ if (.@party > 0) {
+ mapannounce "025-2-3", "Boss deafeated by Party: " + getpartyname(.@party), bc_all;
+ } else {
+ mapannounce "025-2-3", "Boss deafeated by: " + strcharinfo(0), bc_all;
+ }
+ end;
+
+}