From 37bb67f41943c0c4f87005b8d3e9f9ca677f4f2a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 9 Nov 2019 17:10:56 -0300 Subject: Jhedia will be the first crafter to collect taxes for town, and give free services for town admin (OP =o) --- npc/003-8/jhedia.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-60-g2f50