diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-14 00:10:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-14 00:10:53 -0300 |
commit | 3b1d307ffd1f995e5284ebeb02dde9da797e4509 (patch) | |
tree | 254de8ad7e01ee1f114ab818f479837fefb61bc0 /npc | |
parent | 01ae29a9a5fa3d0e36c607a33f9c56861c60d13f (diff) | |
download | serverdata-3b1d307ffd1f995e5284ebeb02dde9da797e4509.tar.gz serverdata-3b1d307ffd1f995e5284ebeb02dde9da797e4509.tar.bz2 serverdata-3b1d307ffd1f995e5284ebeb02dde9da797e4509.tar.xz serverdata-3b1d307ffd1f995e5284ebeb02dde9da797e4509.zip |
Monster Point Bonus: +3% per level, capped at +75% (level difference: 25)
(same as Official Level Table)
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/mobpoint.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 6a6ed99ad..5f9eb2b05 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -26,8 +26,8 @@ function script mobpoint { // Penalty/Bonus .@base=(.@moblv-BaseLevel); if (BaseLevel < .@moblv) { - // Target is stronger, +1% per monster level, capped at +50% - .@addval = .@addval * limit(100, 100+.@base, 150) / 100; + // Target is stronger, +3% per monster level, capped at +75% + .@addval = .@addval * limit(100, 100+(.@base*3), 175) / 100; } else if (BaseLevel > .@moblv) { // Target is weaker, -1% per monster level, capped at -50% .@addval = .@addval * limit(50, 101+.@base, 100) / 100; |