summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-01 15:20:59 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-01 15:20:59 -0300
commitb2b177b50a38d08fcd0b3db2c123622dd5f1b91b (patch)
tree4dce86632ae79aa775ffdd11be4ed2c02ad501c4 /npc
parent28784c0c7746e4227d3965e3ffcfeb79d4e1f047 (diff)
downloadserverdata-b2b177b50a38d08fcd0b3db2c123622dd5f1b91b.tar.gz
serverdata-b2b177b50a38d08fcd0b3db2c123622dd5f1b91b.tar.bz2
serverdata-b2b177b50a38d08fcd0b3db2c123622dd5f1b91b.tar.xz
serverdata-b2b177b50a38d08fcd0b3db2c123622dd5f1b91b.zip
It makes no sense to permit multiple boss
Diffstat (limited to 'npc')
-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