summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-13 15:24:00 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-13 15:24:00 -0300
commit7731f0ef44ea8449b44ccd292d3335336f2620a1 (patch)
tree0bc6fc58640aeae0f8245cb49cdde7ca2c71c089 /npc/functions
parent1bf9c1392d43f7c2bd951395d17c03b17c9630a0 (diff)
downloadserverdata-7731f0ef44ea8449b44ccd292d3335336f2620a1.tar.gz
serverdata-7731f0ef44ea8449b44ccd292d3335336f2620a1.tar.bz2
serverdata-7731f0ef44ea8449b44ccd292d3335336f2620a1.tar.xz
serverdata-7731f0ef44ea8449b44ccd292d3335336f2620a1.zip
[skip ci] silly typo
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 0e9255694..969835770 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -335,7 +335,7 @@ function script sk_intcost {
// abizit()
function script abizit {
.@base=(MAGIC_LVL**3);
- return max(MAGIC_EXP/.@base, 5);
+ return min(MAGIC_EXP/.@base, 5);
}