summaryrefslogtreecommitdiff
path: root/npc/015-6/boss.txt
blob: 845bc72ba1c441450b845391d113bc24a966936a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  Terranite King Boss

015-6,0,0,0	script	#BossCtrl_015-6	NPC_HIDDEN,{
    end;

// Respawn every hour
OnTimer3600000:
    stopnpctimer;
OnInit:
    setarray .xp, 268, 55, 371, 482, 212;
    setarray .yp,  90, 45,  38, 114, 148;
    .@tg=rand(getarraysize(.xp)-1);
    monster "015-6", .xp[.@tg], .yp[.@tg], strmobinfo(1, TerraniteKing), TerraniteKing, 1, "#BossCtrl_015-6::OnBossDeath";
    end;

OnBossDeath:
    initnpctimer;
    announce_bosskill(getmap(), TerraniteKing);
    fix_mobkill(TerraniteKing);
    end;

}