summaryrefslogtreecommitdiff
path: root/npc/026-7/boss.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/026-7/boss.txt')
-rw-r--r--npc/026-7/boss.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/026-7/boss.txt b/npc/026-7/boss.txt
index 82c8cbad0..5ef2d191a 100644
--- a/npc/026-7/boss.txt
+++ b/npc/026-7/boss.txt
@@ -52,7 +52,7 @@ function _boostMe {
.@bcr=getunitdata(.@mg, UDT_CRIT);
.@bag=getunitdata(.@mg, UDT_AGI);
.@bf = $@MK_CHALLENGE + 2; // The booster from selected difficulty
- .@s=.@bf+max(0, (TOP3AVERAGELVL()-100 / 5)); // Over-100 scaling
+ .@s=.@bf+limit(0, (TOP3AVERAGELVL()-100 / 5), 20); // Over-100 scaling
.@bat = .@bat * .@bf / 2;
.@bcr = .@bcr * .@bf / 2;
setunitdata(.@mg, UDT_ATKMAX, .@bat+(.@s*5));