From 1a1af0d816606f9ce3ba619d5edf6a94fd4a4fdb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 14 Jan 2019 01:08:26 -0200 Subject: [SKIP CI] I HAVE FOUND THE BUG --- npc/011-1/manastone.txt | 2 +- npc/functions/util.txt | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/npc/011-1/manastone.txt b/npc/011-1/manastone.txt index 4a95b5cbd..9e04b766f 100644 --- a/npc/011-1/manastone.txt +++ b/npc/011-1/manastone.txt @@ -21,7 +21,7 @@ 011-1,0,0,0 script Mana Stone NPC_MANA_STONE,{ - if (BaseLevel < 40) goto L_NotWorthy; + if (BaseLevel < $MANA_BLVL) goto L_NotWorthy; mesn; mes l("The mighty Mana Stone does not reacts against you."); mes l("Although this particular one seems to hate everyone and everything, it recognizes your strength."); diff --git a/npc/functions/util.txt b/npc/functions/util.txt index dc21765be..46f5bce83 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -454,11 +454,6 @@ function script mstone { .lvl=20; .jlv=10; - if (is_staff()) - debugmes("Check: %d == %d && (%d for int, %d for blvl, %d for jlvl). %d == %d.", 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