diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-14 01:05:33 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-14 01:05:33 -0200 |
commit | 02112338498f2feb45d16906426ea291f69325f0 (patch) | |
tree | bb5484a646640a30312ecc3f2b79e999d5503e60 /npc/functions/util.txt | |
parent | 9c1e6fee8820e1183e61cbd6970095f9b47463e5 (diff) | |
download | serverdata-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.txt | 5 |
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) && |