summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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;
}