summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-16 11:30:25 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-16 11:30:25 -0300
commit8e8f495d502883349e60dcb633755d9a98e20e5a (patch)
tree3d532544d554faa3174cc3eea24fe7f428e1ff1d /npc/functions
parenta0c1e24789fea0891d0f38013da2c493dff951c8 (diff)
downloadserverdata-8e8f495d502883349e60dcb633755d9a98e20e5a.tar.gz
serverdata-8e8f495d502883349e60dcb633755d9a98e20e5a.tar.bz2
serverdata-8e8f495d502883349e60dcb633755d9a98e20e5a.tar.xz
serverdata-8e8f495d502883349e60dcb633755d9a98e20e5a.zip
Preparatives
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index a924286ed..de172bda6 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -303,3 +303,11 @@ function script sk_intcost {
return 0;
}
+// Returns a value defining your current magic control (affects success ratio, higher is better)
+// A value of '5' means perfect control, and a value of '0' means overwhelm.
+// abizit()
+function script abizit {
+ .@base=(MAGIC_LVL**3);
+ return (MAGIC_EXP/.@base);
+}
+