diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-10-03 15:47:09 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-10-03 15:47:09 -0300 |
commit | c239c66a329835baeb9658a515affd821b6738d9 (patch) | |
tree | 519a44c8bf16c832b1ca5b2534120c4ab70c85ce /npc/functions | |
parent | ac019d8aa9dc090025b06c62c10e27c042b2dd10 (diff) | |
download | serverdata-c239c66a329835baeb9658a515affd821b6738d9.tar.gz serverdata-c239c66a329835baeb9658a515affd821b6738d9.tar.bz2 serverdata-c239c66a329835baeb9658a515affd821b6738d9.tar.xz serverdata-c239c66a329835baeb9658a515affd821b6738d9.zip |
This dumb clause should do the trick
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/mobpoint.txt | 5 |
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; |