summaryrefslogtreecommitdiff
path: root/npc/003-8
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-22 23:15:07 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-22 23:15:07 -0300
commitee4f7fa675c58406dfeaac81b0454625846bc44f (patch)
tree3d6a6f84563331ecb6c75950a47f466f705d2746 /npc/003-8
parentb9c57bf9d5f52a129aca67e50d43b6315663c56f (diff)
downloadserverdata-ee4f7fa675c58406dfeaac81b0454625846bc44f.tar.gz
serverdata-ee4f7fa675c58406dfeaac81b0454625846bc44f.tar.bz2
serverdata-ee4f7fa675c58406dfeaac81b0454625846bc44f.tar.xz
serverdata-ee4f7fa675c58406dfeaac81b0454625846bc44f.zip
Fix Jhedia EXP to reflect amount
Diffstat (limited to 'npc/003-8')
-rw-r--r--npc/003-8/jhedia.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt
index 9b47f95a0..c5098cec5 100644
--- a/npc/003-8/jhedia.txt
+++ b/npc/003-8/jhedia.txt
@@ -22,14 +22,13 @@
mesq l("Do you want to craft @@? For that I will need @@ @@, @@ @@ and @@ gp.",
getitemlink(.@prize), .@oream, getitemlink(.@basei), .@coalm, getitemlink(Coal), .@price);
- select
- l("Yes"),
- menuaction(l("Quit"));
+ askyesno();
+ mes "";
- if (@menu == 2) goto L_Menu;
+ if (@menu == ASK_NO) goto L_Menu;
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("How many ingots do you want to make?");
+ mesn;
+ mesq l("How many ingots do you want to make?");
input .@amount;
if (countitem(.@basei) >= .@amount * .@oream && countitem(Coal) >= .@amount * .@coalm && Zeny >= .@price * .@amount) {
@@ -38,7 +37,7 @@
delitem Coal, .@amount * .@coalm;
Zeny = Zeny - .@amount * .@price;
getitem .@prize, .@amount;
- getexp 10, 0;
+ getexp 10*.@amount, .@amount;
mes "";
mesn;