From ebdbcf00b0f9119f9768204bbca44b4707a4ea48 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 17 Oct 2021 20:31:16 -0300 Subject: Add two boss --- npc/031-0/_import.txt | 1 + npc/031-0/boss.txt | 29 +++++++++++++++++++++++++++++ npc/031-1/_mobs.txt | 1 + 3 files changed, 31 insertions(+) create mode 100644 npc/031-0/boss.txt diff --git a/npc/031-0/_import.txt b/npc/031-0/_import.txt index bd877acfd..21649ed6e 100644 --- a/npc/031-0/_import.txt +++ b/npc/031-0/_import.txt @@ -2,3 +2,4 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/031-0/_mobs.txt", "npc/031-0/_warps.txt", +"npc/031-0/boss.txt", diff --git a/npc/031-0/boss.txt b/npc/031-0/boss.txt new file mode 100644 index 000000000..0dce5ffd8 --- /dev/null +++ b/npc/031-0/boss.txt @@ -0,0 +1,29 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// Spider Queen Boss + +031-0,0,0,0 script #BossCtrl_031-0 NPC_HIDDEN,{ + end; + +// Respawn every half hour +OnTimer1800000: + stopnpctimer; +OnInit: + .@m = monster("031-0", 149, 123, strmobinfo(1, Tengu), Tengu, 1, "#BossCtrl_031-0::OnBossDeath"); + set_aggro(.@m, MD_BOSS); + 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; + } + getexp 0, 1000+BaseLevel*8+JobLevel; + end; + +} diff --git a/npc/031-1/_mobs.txt b/npc/031-1/_mobs.txt index 5601b8d1d..22567edca 100644 --- a/npc/031-1/_mobs.txt +++ b/npc/031-1/_mobs.txt @@ -5,3 +5,4 @@ 031-1,89,40,15,16 monster White Slime 1094,2,90000,30000 031-1,24,59,10,44 monster Wind Fairy 1185,1,75000,30000 031-1,56,48,29,23 monster Santa Slime 1096,7,30000,30000 +031-1,24,23,3,4 monster Whirly Bird 1232,1,300000,300000 -- cgit v1.2.3-60-g2f50