summaryrefslogtreecommitdiff
path: root/npc/015-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-08-05 22:08:43 -0300
committerJesusaves <cpntb1@ymail.com>2021-08-05 22:08:43 -0300
commitdebff23c987d6f20481d4a9a1a8668c2a4e6d8f2 (patch)
tree814e0ad25a8e840829aa2ab9594b79048b56f293 /npc/015-1
parent6b0feed03be00c9c54e68fad7bdcce68463dae12 (diff)
downloadserverdata-debff23c987d6f20481d4a9a1a8668c2a4e6d8f2.tar.gz
serverdata-debff23c987d6f20481d4a9a1a8668c2a4e6d8f2.tar.bz2
serverdata-debff23c987d6f20481d4a9a1a8668c2a4e6d8f2.tar.xz
serverdata-debff23c987d6f20481d4a9a1a8668c2a4e6d8f2.zip
Release the new monsters, adjust their drops.
Actually, I missed the frogs. Whatever.
Diffstat (limited to 'npc/015-1')
-rw-r--r--npc/015-1/_import.txt1
-rw-r--r--npc/015-1/boss.txt27
2 files changed, 28 insertions, 0 deletions
diff --git a/npc/015-1/_import.txt b/npc/015-1/_import.txt
index 19aefef50..69c337026 100644
--- a/npc/015-1/_import.txt
+++ b/npc/015-1/_import.txt
@@ -2,4 +2,5 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/015-1/_mobs.txt",
"npc/015-1/_warps.txt",
+"npc/015-1/boss.txt",
"npc/015-1/treasure.txt",
diff --git a/npc/015-1/boss.txt b/npc/015-1/boss.txt
new file mode 100644
index 000000000..5d1d77121
--- /dev/null
+++ b/npc/015-1/boss.txt
@@ -0,0 +1,27 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// Spider Queen Boss
+
+015-1,0,0,0 script #BossCtrl_015-1 NPC_HIDDEN,{
+ end;
+
+// Respawn every half hour
+OnTimer1800000:
+ stopnpctimer;
+OnInit:
+ areamonster "015-1", 20, 20, getmapinfo(MAPINFO_SIZE_X, "015-1"), getmapinfo(MAPINFO_SIZE_Y, "015-1"), strmobinfo(1, SpiderQueen), SpiderQueen, 1, "#BossCtrl_015-1::OnBossDeath";
+ end;
+
+OnBossDeath:
+ initnpctimer;
+ .@party=getcharid(1);
+ if (.@party > 0) {
+ mapannounce getmap(), "Boss deafeated by Party: " + getpartyname(.@party), bc_all;
+ } else {
+ mapannounce getmap(), "Boss deafeated by: " + strcharinfo(0), bc_all;
+ }
+ end;
+
+}