summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-25 22:58:06 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-25 22:58:06 -0300
commit60d280005b0624eb594bbfc07022442f03f7c71f (patch)
tree13e6a05c5e35db9975107bd14123d05e62980c9d
parentd25a7cbc67a1e697f3d8ea84378cfee4dd33d6e0 (diff)
downloadserverdata-60d280005b0624eb594bbfc07022442f03f7c71f.tar.gz
serverdata-60d280005b0624eb594bbfc07022442f03f7c71f.tar.bz2
serverdata-60d280005b0624eb594bbfc07022442f03f7c71f.tar.xz
serverdata-60d280005b0624eb594bbfc07022442f03f7c71f.zip
Minor improvement to Kage's Game: Monster reinforcement will use highest level
-rw-r--r--npc/006-8/kage.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/006-8/kage.txt b/npc/006-8/kage.txt
index bb584a11e..1b42470c7 100644
--- a/npc/006-8/kage.txt
+++ b/npc/006-8/kage.txt
@@ -248,15 +248,16 @@ OnMinute25:
.@t1a = .@t2a;
/* Spawn guards as needed... */
// Normalize player count
+ // TODO: Maybe use the other side average, mobs are weak?
while (.@t1p < .@t2p) {
.@t1p += 1;
- bg_monster($@CAPTURE_T1, "006-8", 32, rand2(24, 32), "Magenta Ally", getmobid(.@t1a), "Kage::OnSkip");
+ bg_monster($@CAPTURE_T1, "006-8", 32, rand2(24, 32), "Magenta Ally", getmobid(max(.@t1a, .@t2a)), "Kage::OnSkip");
}
while (.@t2p < .@t1p) {
.@t2p += 1;
- bg_monster($@CAPTURE_T2, "006-8", 53, rand2(24, 32), "Yellow Ally", getmobid(.@t2a), "Kage::OnSkip");
+ bg_monster($@CAPTURE_T2, "006-8", 53, rand2(24, 32), "Yellow Ally", getmobid(max(.@t1a, .@t2a)), "Kage::OnSkip");
}
- // TODO: Buff their HP
+ // TODO: Maybe buff their HP. Also, they didn't attack sparks?
// Apply a buff on the teams, based on level difference
.@c=getunits(BL_PC, .@pcs, MAX_CYCLE_PC, "006-8", 30, 20, 60, 60);
.@t1b = .@t2a - .@t1a; // Team 1 Boost