summaryrefslogtreecommitdiff
path: root/npc/003-8
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-8')
-rw-r--r--npc/003-8/jhedia.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt
index 66e6f501c..a6de251d5 100644
--- a/npc/003-8/jhedia.txt
+++ b/npc/003-8/jhedia.txt
@@ -18,6 +18,9 @@
.@coalm=getarg(3);
.@price=getarg(4);
+ // Adjust price
+ .@price=POL_AdjustPrice(.@price);
+
mesn;
mesq l("Do you want to craft @@? For that I will need @@ @@, @@ @@ and @@ gp.",
getitemlink(.@prize), .@oream, getitemlink(.@basei), .@coalm, getitemlink(Coal), .@price);
@@ -38,7 +41,7 @@
inventoryplace .@prize, .@amount;
delitem .@basei, .@amount * .@oream;
delitem Coal, .@amount * .@coalm;
- Zeny = Zeny - .@amount * .@price;
+ POL_PlayerMoney(.@amount * .@price);
getitem .@prize, .@amount;
getexp (JobLevel+.@oream+.@coalm)*.@amount, .@amount;