summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/mobpoint.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index 016177f5b..89fd4f37b 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -26,6 +26,11 @@ function script mobpoint {
// Penalty/Bonus
.@base=(.@moblv-BaseLevel);
+
+ // Rebirth exploit correction
+ if (.@base > 20 && REBIRTH && BaseLevel < 16)
+ .@base = 20;
+
if (BaseLevel < .@moblv) {
// Target is stronger, +3% per monster level, capped at +75%
.@addval = .@addval * limit(100, 100+(.@base*3), 175) / 100;