diff options
-rw-r--r-- | npc/functions/util.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index d766bee62..9ac8d1fc5 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -840,6 +840,7 @@ function script transcheck { // A value of '5' means perfect control, and a value of '0' means overwhelm. // abizit() function script abizit { + if (!MAGIC_LVL) return 0; .@base=((MAGIC_LVL*2)**3); return min(MAGIC_EXP/.@base, 5); } |