diff options
-rw-r--r-- | npc/042-3/jail.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt index 2fe2d14fb..20793a7e8 100644 --- a/npc/042-3/jail.txt +++ b/npc/042-3/jail.txt @@ -39,7 +39,7 @@ function script KamelotLockpick { mes l("But thanks to your %s skills, maybe you can pry this open.", thiefrank()); next; - .@s=LockPicking(3, 5, false); + .@s=LockPicking(5, 3, false); // You broke free! if (.@s) { @@ -48,13 +48,14 @@ function script KamelotLockpick { @lockpicks=true; return; } + mes l("What's this dark magic, the password has changed!"); // Give player a easy way to get lockpicks for this // (Overrides original .@x/.@y variables) - if (!countitem(Lockpicks)) { + if (countitem(Lockpicks) <= 1) { @lockpicks=false; 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); } |