summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-14 01:05:33 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-14 01:05:33 -0200
commit02112338498f2feb45d16906426ea291f69325f0 (patch)
treebb5484a646640a30312ecc3f2b79e999d5503e60 /npc/functions/util.txt
parent9c1e6fee8820e1183e61cbd6970095f9b47463e5 (diff)
downloadserverdata-02112338498f2feb45d16906426ea291f69325f0.tar.gz
serverdata-02112338498f2feb45d16906426ea291f69325f0.tar.bz2
serverdata-02112338498f2feb45d16906426ea291f69325f0.tar.xz
serverdata-02112338498f2feb45d16906426ea291f69325f0.zip
[skip ci] Debug check
Diffstat (limited to 'npc/functions/util.txt')
-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) &&