summaryrefslogtreecommitdiff
path: root/npc/018-6-3/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/018-6-3/main.txt')
-rw-r--r--npc/018-6-3/main.txt9
1 files changed, 4 insertions, 5 deletions
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