diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-28 16:40:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-28 16:40:07 -0300 |
commit | 6bb8db34ce1f92a59e7575ee2ab66843c82fbbad (patch) | |
tree | a8c262d40a65136bbb1c48c4d48380fa10d5199a /npc/functions | |
parent | f63e433ee932323d173591025d32f338c1441153 (diff) | |
download | serverdata-6bb8db34ce1f92a59e7575ee2ab66843c82fbbad.tar.gz serverdata-6bb8db34ce1f92a59e7575ee2ab66843c82fbbad.tar.bz2 serverdata-6bb8db34ce1f92a59e7575ee2ab66843c82fbbad.tar.xz serverdata-6bb8db34ce1f92a59e7575ee2ab66843c82fbbad.zip |
Add celldoors to the jail, along copper slime logic (w/o triggers)
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/lockpicks.txt | 3 | ||||
-rw-r--r-- | npc/functions/util.txt | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt index ddb14cbd2..0933d0c35 100644 --- a/npc/functions/lockpicks.txt +++ b/npc/functions/lockpicks.txt @@ -114,7 +114,8 @@ function script LockPicking { } while (true); // Failed - THIEF_EXP += 1; + if (THIEF_RANK) + THIEF_EXP += 1; return 0; } diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 5717c8600..76caaff6a 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -830,6 +830,7 @@ function script thiefrank { case 3: return l("Rogue"); case 2: return l("Bandit"); case 1: return l("Thief"); + case 0: return l("Citzen"); default: return l("Error"); } } |