summaryrefslogtreecommitdiff
path: root/npc/018-2-4/vault.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-26 00:03:37 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-26 00:03:37 -0300
commitfec35860f0876dd7bb74a13896c28532c91ca766 (patch)
treeaa5007c71264fac015e2c4f8327fd125bf856c43 /npc/018-2-4/vault.txt
parent4e51c716a63fb1bfd642bb8fd153c57b7a59f5a6 (diff)
parent5c3a947469b62af30542a0773c9cb70c189a692a (diff)
downloadserverdata-fec35860f0876dd7bb74a13896c28532c91ca766.tar.gz
serverdata-fec35860f0876dd7bb74a13896c28532c91ca766.tar.bz2
serverdata-fec35860f0876dd7bb74a13896c28532c91ca766.tar.xz
serverdata-fec35860f0876dd7bb74a13896c28532c91ca766.zip
Merge branch 'master' into testserver
Diffstat (limited to 'npc/018-2-4/vault.txt')
-rw-r--r--npc/018-2-4/vault.txt24
1 files changed, 2 insertions, 22 deletions
diff --git a/npc/018-2-4/vault.txt b/npc/018-2-4/vault.txt
index 7b778abdd..541a53645 100644
--- a/npc/018-2-4/vault.txt
+++ b/npc/018-2-4/vault.txt
@@ -5,13 +5,12 @@
// Based on BenB idea.
018-2-4,23,24,0 script Vault#01824a NPC_NO_SPRITE,{
- if (MERC_RANK) goto L_Debug;
mesn;
mesq l("There's a shiny safe here. How much money is inside? Nobody is looking at you, great!");
// 3*3 = 9 possibilities, 6~8 attempts
if (LockPicking(3, 3)) {
Zeny=Zeny+$VAULT_01824;
- $VAULT_01824=0;
+ $VAULT_01824=60;
mesn;
mesq l("Booty!");
} else {
@@ -24,32 +23,13 @@
}
close;
-// TODO: And remove from here.
-L_Debug:
- mesn;
- mesq l("Thiefs frequently attack this vault, and locking it again is a pain. If you break the lock you'll need to pay 100 GP.");
- if (Zeny < 100)
- close;
- // 2*3 = 6 possibilities, 5 attempts
- if (ToDoMerc(3, 3)) {
- getexp 20, 90;
- $VAULT_01824+=2;
- mesn;
- mesq l("Safe again! You've gained some experience for your hard work!");
- } else {
- mesn;
- mesq l("Dargh, you broke the lock!!");
- Zeny-=100;
- }
- close;
-
OnInit:
.distance=3;
end;
OnClock0201:
OnClock1216:
- $VAULT_01824+=rand(15,35);
+ $VAULT_01824+=rand2(15,35);
end;
}