summaryrefslogtreecommitdiff
path: root/npc/012-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-30 16:08:36 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-30 16:08:36 -0300
commit2ff1c4bc1deeec8cb17b830e039113cccff35b6d (patch)
tree61cb77f801a0c6aa3c5d8ed2423d42fd4d9ebefe /npc/012-5
parent355441b79c01e4afb9c5d5d1aa1358313ba75224 (diff)
downloadserverdata-2ff1c4bc1deeec8cb17b830e039113cccff35b6d.tar.gz
serverdata-2ff1c4bc1deeec8cb17b830e039113cccff35b6d.tar.bz2
serverdata-2ff1c4bc1deeec8cb17b830e039113cccff35b6d.tar.xz
serverdata-2ff1c4bc1deeec8cb17b830e039113cccff35b6d.zip
Fix bugs related to previous commit.
Diffstat (limited to 'npc/012-5')
-rw-r--r--npc/012-5/nicholas.txt19
1 files changed, 5 insertions, 14 deletions
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt
index 7a741fd6f..1c5d28077 100644
--- a/npc/012-5/nicholas.txt
+++ b/npc/012-5/nicholas.txt
@@ -112,23 +112,14 @@ L_Menu:
goto L_Menu;
case 6:
mesn;
- mesq l("Well, that will cost you @@ GP, upfront. You may also fail and will only have one attempt.", format_number(8000));
+ mesq l("You'll be charged even if you fail, be warned.");
next;
- if (Zeny == 8000) {
+ if (!SmithTweakSystem()) {
+ mes "";
mesn;
- mesc l("It's very risky, so think well! You'll be limited to your own craft skills."), 1;
- next;
- if (askyesno() == ASK_YES) {
- if (SmithTweakSystem()) {
- Zeny-=8000;
- } else {
- Zeny-=5000;
- next;
- mesn;
- mesq l("How bad for you... I'll give you a discount. I'm sorry for your own lack of skill!");
- }
- }
+ mesq l("How bad for you... You failed! I'm sorry for your own lack of skill!");
}
+ next;
goto L_Menu;
}
close;