summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
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 17cf3fefe..0e9255694 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 (MAGIC_EXP/.@base);
+ return max(MAGIC_EXP/.@base, 5);
}