From ee4f7fa675c58406dfeaac81b0454625846bc44f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 22 May 2019 23:15:07 -0300 Subject: Fix Jhedia EXP to reflect amount --- npc/003-8/jhedia.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'npc/003-8/jhedia.txt') 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; -- cgit v1.2.3-60-g2f50