From 8e8f495d502883349e60dcb633755d9a98e20e5a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 16 Jul 2018 11:30:25 -0300 Subject: Preparatives --- npc/functions/util.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'npc/functions/util.txt') 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); +} + -- cgit v1.2.3-70-g09d2