From 02112338498f2feb45d16906426ea291f69325f0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 14 Jan 2019 01:05:33 -0200 Subject: [skip ci] Debug check --- npc/functions/util.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/functions') 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) && -- cgit v1.2.3-70-g09d2