summaryrefslogtreecommitdiff
path: root/npc/015-1/boss.txt
blob: 943e1a8e902cd346e901e0ba955bef8ec4717408 (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
// 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;
    announce_bosskill(getmap(), SpiderQueen);
    fix_mobkill(SpiderQueen);
    end;

}