summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-06-05 23:53:31 -0300
committerJesusaves <cpntb1@ymail.com>2022-06-05 23:53:31 -0300
commitdf6bcf475ae1b6abd1d15469176c3d1d918a48fb (patch)
treef5a6343c5f53cd0813521fa150ff10194122520a
parentb40a03c376451ac9e5aaec884067e4bfc13fe80f (diff)
downloadserverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.gz
serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.bz2
serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.xz
serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.zip
Maybe this fix the bug
-rw-r--r--npc/functions/util.txt4
-rw-r--r--npc/items/legacy_heal.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index bc76b5361..ac864a125 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -71,9 +71,9 @@ function script DelChrRegFromEveryPlayer {
.@c = getunits(BL_PC, .@players, MAX_CYCLE_PC);
for (.@i = 0; .@i < .@c; .@i++) {
if (compare(getarg(0), "$"))
- setd(getarg(0), "");
+ setd(str(getarg(0)), "");
else
- setd(getarg(0), 0);
+ setd(str(getarg(0)), 0);
}
return;
}
diff --git a/npc/items/legacy_heal.txt b/npc/items/legacy_heal.txt
index 2f3484080..2beb820d3 100644
--- a/npc/items/legacy_heal.txt
+++ b/npc/items/legacy_heal.txt
@@ -35,7 +35,7 @@ function script ItHeal {
// Obtain the real healing
@val1 = rand2(.@min, .@max) / .@delay;
- debugmes "Heal %d-%d/%d = %d", .@min, .@max, .@delay, @val1;
+ //debugmes "Heal %d-%d/%d = %d", .@min, .@max, .@delay, @val1;
.@delay *= 1000; // Put the delay in ms