summaryrefslogtreecommitdiff
path: root/npc/042-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-28 19:57:05 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-28 19:57:05 -0300
commita06bbf4e3a0d0d44110c2aca4532cea5e29fbc66 (patch)
treec09e737a1f33c051656badf6cb8113a5366c7871 /npc/042-3
parent31fc7688454c053c3e0f273197f2d1a9fd8e882f (diff)
downloadserverdata-a06bbf4e3a0d0d44110c2aca4532cea5e29fbc66.tar.gz
serverdata-a06bbf4e3a0d0d44110c2aca4532cea5e29fbc66.tar.bz2
serverdata-a06bbf4e3a0d0d44110c2aca4532cea5e29fbc66.tar.xz
serverdata-a06bbf4e3a0d0d44110c2aca4532cea5e29fbc66.zip
The bug
Diffstat (limited to 'npc/042-3')
-rw-r--r--npc/042-3/jail.txt7
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);
}