summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-14 01:08:26 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-14 01:08:26 -0200
commit1a1af0d816606f9ce3ba619d5edf6a94fd4a4fdb (patch)
treebee4e7dcd26a8432688800e5db077d07d2810173
parent5a96d5846c0ac8f547e9d1773fc20e7a96ea9852 (diff)
downloadserverdata-1a1af0d816606f9ce3ba619d5edf6a94fd4a4fdb.tar.gz
serverdata-1a1af0d816606f9ce3ba619d5edf6a94fd4a4fdb.tar.bz2
serverdata-1a1af0d816606f9ce3ba619d5edf6a94fd4a4fdb.tar.xz
serverdata-1a1af0d816606f9ce3ba619d5edf6a94fd4a4fdb.zip
[SKIP CI] I HAVE FOUND THE BUG
-rw-r--r--npc/011-1/manastone.txt2
-rw-r--r--npc/functions/util.txt5
2 files changed, 1 insertions, 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) &&