From debff23c987d6f20481d4a9a1a8668c2a4e6d8f2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 5 Aug 2021 22:08:43 -0300 Subject: Release the new monsters, adjust their drops. Actually, I missed the frogs. Whatever. --- npc/015-1/_import.txt | 1 + npc/015-1/boss.txt | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 npc/015-1/boss.txt (limited to 'npc/015-1') 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; + +} -- cgit v1.2.3-70-g09d2