summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/042-3/jail.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt
index 7ce2d30d0..87ba809d8 100644
--- a/npc/042-3/jail.txt
+++ b/npc/042-3/jail.txt
@@ -46,7 +46,14 @@ OnFirstSlime:
debugmes "[ERROR] Cannot retrieve coordinates!!";
}
getmapxy(.@m$, .@x, .@y, 0);
- sleep2(1800);
+ @kamslimekills += 1;
+ if (@kamslimekills > 10 && @lockpicks) {
+ @kamslimekills -= 3;
+ detachrid();
+ sleep(rand2(24) * 1800);
+ } else {
+ sleep2(1800);
+ }
.@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, 1, .@label$);
// This should wipe the monster experience value
setunitdata(.@mob, UDT_LEVEL, 1);