summaryrefslogtreecommitdiff
path: root/npc/008-3-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/008-3-2')
-rw-r--r--npc/008-3-2/_import.txt5
-rw-r--r--npc/008-3-2/_mobs.txt7
-rw-r--r--npc/008-3-2/_warps.txt3
-rw-r--r--npc/008-3-2/boss.txt43
4 files changed, 58 insertions, 0 deletions
diff --git a/npc/008-3-2/_import.txt b/npc/008-3-2/_import.txt
new file mode 100644
index 00000000..580a8f40
--- /dev/null
+++ b/npc/008-3-2/_import.txt
@@ -0,0 +1,5 @@
+// Map 008-3-2: Calamity Dungeon
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/008-3-2/_mobs.txt",
+"npc/008-3-2/_warps.txt",
+"npc/008-3-2/boss.txt",
diff --git a/npc/008-3-2/_mobs.txt b/npc/008-3-2/_mobs.txt
new file mode 100644
index 00000000..4c0dfbd0
--- /dev/null
+++ b/npc/008-3-2/_mobs.txt
@@ -0,0 +1,7 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 008-3-2: Calamity Dungeon mobs
+008-3-2,106,73,73,63 monster Cave Maggot 1027,80,30000,2500
+008-3-2,136,71,47,50 monster Thief Slime 1105,35,50000,2500
+008-3-2,101,83,73,30 monster AngryCrafty 1103,60,50000,2500
+008-3-2,100,79,32,31 monster Black Scorpion 1104,14,45000,2500
+008-3-2,94,98,11,9 monster Green Slime 1024,4,500,2500
diff --git a/npc/008-3-2/_warps.txt b/npc/008-3-2/_warps.txt
new file mode 100644
index 00000000..e69305bc
--- /dev/null
+++ b/npc/008-3-2/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 008-3-2: Calamity Dungeon warps
+008-3-2,175,19,0 warp #008-3-2_175_19 2,0,008-1,165,170
diff --git a/npc/008-3-2/boss.txt b/npc/008-3-2/boss.txt
new file mode 100644
index 00000000..0634358d
--- /dev/null
+++ b/npc/008-3-2/boss.txt
@@ -0,0 +1,43 @@
+// The Mana World Script
+// Author:
+// Jesusalva
+// Description:
+// Controls the boss on 008-3-2 and the Master Book Learning
+// see npc/items/master_skillbook.txt for explanation about variables
+
+008-3-2,0,0,0 script #BossCtrl_008-3-2 NPC_HIDDEN,{
+ end;
+
+// Test server: 15 minutes only
+OnTimer900000:
+ if (!debug)
+ end;
+
+// Otherwise, respawn every hour
+OnTimer3600000:
+ stopnpctimer;
+OnInit:
+ $@MB_00832=0;
+ monster "008-3-2", 67, 30, strmobinfo(1, SpiderQueen), SpiderQueen, 1, "#BossCtrl_008-3-2::OnBossDeath";
+ end;
+
+OnBossDeath:
+ initnpctimer;
+ BossSlain(.name$, "$@MB_00832");
+ end;
+
+OnBossCheck:
+ @mb_BossId=-1;
+ // TODO: Check if you really fought or was just lurking
+ // Check if party is correct
+ if (getcharid(1) != $@MB_00832)
+ end;
+OnBegin:
+ @mb_BossId=SpiderQueen;
+ @mb_SkillId=TF_POISON;
+ @mb_ItemId=MagicFeather; // Placeholder
+ @mb_ItemAm=1;
+ addtimer(15000, "#MasterBook::OnUnset");
+ end;
+
+}