summaryrefslogtreecommitdiff
path: root/npc/042-3/jail.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-28 20:00:41 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-28 20:00:41 -0300
commitc6b256af9b706c25dff7fc798dc636e616449289 (patch)
tree2451f4992d064e698d4d96d44ca0121835e5be3f /npc/042-3/jail.txt
parenta06bbf4e3a0d0d44110c2aca4532cea5e29fbc66 (diff)
downloadserverdata-c6b256af9b706c25dff7fc798dc636e616449289.tar.gz
serverdata-c6b256af9b706c25dff7fc798dc636e616449289.tar.bz2
serverdata-c6b256af9b706c25dff7fc798dc636e616449289.tar.xz
serverdata-c6b256af9b706c25dff7fc798dc636e616449289.zip
Wipe bugs from Jail
Diffstat (limited to 'npc/042-3/jail.txt')
-rw-r--r--npc/042-3/jail.txt6
1 files changed, 3 insertions, 3 deletions
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;
}