summaryrefslogtreecommitdiff
path: root/npc/017-5/silversmith.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-5/silversmith.txt')
-rw-r--r--npc/017-5/silversmith.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/017-5/silversmith.txt b/npc/017-5/silversmith.txt
index c4b12e6ac..6255ee666 100644
--- a/npc/017-5/silversmith.txt
+++ b/npc/017-5/silversmith.txt
@@ -18,6 +18,8 @@
.@prize=getarg(4);
.@price=getarg(5);
+ .@price=POL_AdjustPrice(.@price);
+
mesn;
mesq l("Do you want to craft @@? For that I will need:", getitemlink(.@prize));
mesc l("@@/@@ @@", countitem(.@base1), .@amon1, getitemlink(.@base1));
@@ -37,7 +39,7 @@
inventoryplace .@prize, 1;
delitem .@base1, .@amon1;
delitem .@base2, .@amon2;
- Zeny = Zeny - .@price;
+ POL_PlayerMoney(.@price);
getitem .@prize, 1;
.@xp=getiteminfo(.@base1, ITEMINFO_SELLPRICE)*.@amon1+getiteminfo(.@base2, ITEMINFO_SELLPRICE)*.@amon2;
.@xp=.@xp*2/3;