diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-11-09 17:10:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-11-09 17:10:56 -0300 |
commit | 37bb67f41943c0c4f87005b8d3e9f9ca677f4f2a (patch) | |
tree | be9dabece295291678964126db90cd40490be192 | |
parent | 452ec389bdef2ed6d0e021b32ab9c8cc0d270802 (diff) | |
download | serverdata-37bb67f41943c0c4f87005b8d3e9f9ca677f4f2a.tar.gz serverdata-37bb67f41943c0c4f87005b8d3e9f9ca677f4f2a.tar.bz2 serverdata-37bb67f41943c0c4f87005b8d3e9f9ca677f4f2a.tar.xz serverdata-37bb67f41943c0c4f87005b8d3e9f9ca677f4f2a.zip |
Jhedia will be the first crafter to collect taxes for town,
and give free services for town admin (OP =o)
-rw-r--r-- | npc/003-8/jhedia.txt | 5 |
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; |