From c6b256af9b706c25dff7fc798dc636e616449289 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Apr 2020 20:00:41 -0300 Subject: Wipe bugs from Jail --- npc/042-3/jail.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt index 20793a7e8..a0b4e9079 100644 --- a/npc/042-3/jail.txt +++ b/npc/042-3/jail.txt @@ -17,9 +17,9 @@ OnKillSlime: end; if (rand2(10000) > 1000) { getmapxy(.@m$, .@x, .@y, 0); - .@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, .@label$); + .@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, 1, .@label$); // This should wipe the monster experience value - setunitdata(.@mob, UDT_LEVEL, BaseLevel); + setunitdata(.@mob, UDT_LEVEL, 1); end; } @lockpicks=true; @@ -57,7 +57,7 @@ function script KamelotLockpick { getmapxy(.@m$, .@x, .@y, 0); .@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, 1, .@label$); // This should wipe the monster experience value - setunitdata(.@mob, UDT_LEVEL, BaseLevel); + setunitdata(.@mob, UDT_LEVEL, 1); } return; } -- cgit v1.2.3-60-g2f50