diff options
Diffstat (limited to 'npc/015-1/boss.txt')
-rw-r--r-- | npc/015-1/boss.txt | 27 |
1 files changed, 27 insertions, 0 deletions
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; + +} |