diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-10-17 20:31:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-10-17 20:31:16 -0300 |
commit | ebdbcf00b0f9119f9768204bbca44b4707a4ea48 (patch) | |
tree | 621e54b4f2b4a2d1fe28b3a85d0a63e18d94d965 /npc/031-0/boss.txt | |
parent | 614a03792a6f71baf0f141efa9b4eaa5d1db07ab (diff) | |
download | serverdata-ebdbcf00b0f9119f9768204bbca44b4707a4ea48.tar.gz serverdata-ebdbcf00b0f9119f9768204bbca44b4707a4ea48.tar.bz2 serverdata-ebdbcf00b0f9119f9768204bbca44b4707a4ea48.tar.xz serverdata-ebdbcf00b0f9119f9768204bbca44b4707a4ea48.zip |
Add two boss
Diffstat (limited to 'npc/031-0/boss.txt')
-rw-r--r-- | npc/031-0/boss.txt | 29 |
1 files changed, 29 insertions, 0 deletions
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; + +} |