diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-11-09 17:19:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-11-09 17:19:40 -0300 |
commit | da0d13ab2564d438875048ed8f5465a37bc64cca (patch) | |
tree | aeaeb6951930d70e7f7d121effe14151a297fee0 /npc/017-5/silversmith.txt | |
parent | 3f8a4f8270c388dd27ed0df257a12463ec5f2061 (diff) | |
download | serverdata-da0d13ab2564d438875048ed8f5465a37bc64cca.tar.gz serverdata-da0d13ab2564d438875048ed8f5465a37bc64cca.tar.bz2 serverdata-da0d13ab2564d438875048ed8f5465a37bc64cca.tar.xz serverdata-da0d13ab2564d438875048ed8f5465a37bc64cca.zip |
Status reset (all NPCs) and almost every crafter in LoF
Diffstat (limited to 'npc/017-5/silversmith.txt')
-rw-r--r-- | npc/017-5/silversmith.txt | 4 |
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; |