summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-22 10:00:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-22 10:00:39 -0300
commit615922386c56d473981dad70dce9158fdd135c87 (patch)
treed19347236a5d01feb7568f7550217ad04eeb4b06 /npc/functions
parent4cdf3cbcb896acc17a35aeebab61afd772ce70a6 (diff)
downloadserverdata-615922386c56d473981dad70dce9158fdd135c87.tar.gz
serverdata-615922386c56d473981dad70dce9158fdd135c87.tar.bz2
serverdata-615922386c56d473981dad70dce9158fdd135c87.tar.xz
serverdata-615922386c56d473981dad70dce9158fdd135c87.zip
And capped.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 6a8c20ca2..82b107138 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -590,8 +590,8 @@ function script sk_maxpoints {
.@val=(MAGIC_LVL)*2;
// 1 point every twice magic level
.@val+=(MAGIC_LVL/2);
- // Excluding first 15, 1 point every 12 job levels
- .@val+=((JobLevel-15)/12);
+ // Excluding first 15, 1 point every 12 job levels (Up to JL 75)
+ .@val+=min(5, ((JobLevel-15)/12));
// 1 point per being a player
.@val+=1;
// 1 point per skill permit level