From b2b177b50a38d08fcd0b3db2c123622dd5f1b91b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 1 Sep 2019 15:20:59 -0300 Subject: It makes no sense to permit multiple boss --- npc/018-6-3/main.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'npc/018-6-3/main.txt') diff --git a/npc/018-6-3/main.txt b/npc/018-6-3/main.txt index 36227be78..50210fee1 100644 --- a/npc/018-6-3/main.txt +++ b/npc/018-6-3/main.txt @@ -39,7 +39,7 @@ function AreaMonsterB { return; } -// Map, x1, y1, x2, y2, mob, amount, bossID +// Map, x1, y1, x2, y2, mob, bossID function AreaMonsterBoss { .@m$=getarg(0); .@x1=getarg(1); @@ -47,9 +47,8 @@ function AreaMonsterBoss { .@y1=getarg(2); .@y2=getarg(4); .@mi=getarg(5); - .@am=getarg(6); - .@id=getarg(7); - areamonster(.@m$, .@x1, .@y1, .@x2, .@y2, strmobinfo(1, .@mi), .@mi, .@am, instance_npcname(.name$)+"::OnKill"+.@id); + .@id=getarg(6); + areamonster(.@m$, .@x1, .@y1, .@x2, .@y2, strmobinfo(1, .@mi), .@mi, 1, instance_npcname(.name$)+"::OnKill"+.@id); return; } @@ -66,7 +65,7 @@ function BossRoom { if (01863_RelevanceCheck(.@id)) { mapannounce getmap(), l("BOSS FIGHT!"), bc_map|bc_pc; // Spawn a boss. Aggressive chance: 33% - AreaMonsterBoss(getmap(), .@x1, .@y1, .@x2, .@y2 any(HolyPixie, NulityPixie, VanityPixie, TerraniteProtector, GoboBear, Centaur), 1, 1); + AreaMonsterBoss(getmap(), .@x1, .@y1, .@x2, .@y2 any(HolyPixie, NulityPixie, VanityPixie, TerraniteProtector, GoboBear, Centaur), .@id); // BIG ROOM: 6~12 support units // SMALL ROOM: 5~10 support units -- cgit v1.2.3-60-g2f50