blob: efd24256bcfd707702d67447232fe0be71d881a2 (
plain) (
tree)
|
|
// 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;
fix_mobkill(Tengu);
end;
}
|