summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/util.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 46f5bce83..bd584b35e 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -454,6 +454,11 @@ function script mstone {
.lvl=20;
.jlv=10;
+ if (is_staff())
+ debugmes("Check: @@ == @@ && (@@ for int, @@ for blvl, @@ for jlvl). @@ == @@.", MAGIC_LVL, .@v,
+ $MANA_BINT+(.int*.@v), $MANA_BINT+(.lvl*.@v), $MANA_BINT+(.jlv*.@v),
+ readparam(Sp), readparam(MaxSp));
+
return (
MAGIC_LVL == .@v &&
readparam(bInt) >= $MANA_BINT+(.int*.@v) &&