summaryrefslogtreecommitdiff
path: root/npc/017-5/nahrec.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-11-09 17:19:40 -0300
committerJesusaves <cpntb1@ymail.com>2019-11-09 17:19:40 -0300
commitda0d13ab2564d438875048ed8f5465a37bc64cca (patch)
treeaeaeb6951930d70e7f7d121effe14151a297fee0 /npc/017-5/nahrec.txt
parent3f8a4f8270c388dd27ed0df257a12463ec5f2061 (diff)
downloadserverdata-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/nahrec.txt')
-rw-r--r--npc/017-5/nahrec.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/017-5/nahrec.txt b/npc/017-5/nahrec.txt
index ddab8bd5d..84cb51334 100644
--- a/npc/017-5/nahrec.txt
+++ b/npc/017-5/nahrec.txt
@@ -128,6 +128,8 @@ function blacksmith_create {
.@prize=getarg(4);
.@price=getarg(5);
+ .@price=POL_AdjustPrice(.@price);
+
mesn;
mesq l("Do you want to craft @@? For that I will need @@ @@, @@ @@ and @@ gp.",
getitemlink(.@prize), .@amon1, getitemlink(.@base1), .@amon2, getitemlink(.@base2), .@price);
@@ -145,7 +147,7 @@ function blacksmith_create {
inventoryplace .@prize, 1;
delitem .@base1, .@amon1;
delitem .@base2, .@amon2;
- Zeny = Zeny - .@price;
+ POL_PlayerMoney(.@price);
getitem .@prize, 1;
mes "";