summaryrefslogtreecommitdiff
path: root/npc/017-4/pihro.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-4/pihro.txt')
-rw-r--r--npc/017-4/pihro.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/017-4/pihro.txt b/npc/017-4/pihro.txt
index b64ceb625..91103c61b 100644
--- a/npc/017-4/pihro.txt
+++ b/npc/017-4/pihro.txt
@@ -25,6 +25,8 @@
.@base3=getarg(5,0);
.@amon3=getarg(6,0);
+ .@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));
@@ -52,8 +54,8 @@
delitem .@base2, .@amon2;
if (.@base3 > 0)
delitem .@base3, .@amon3;
- Zeny = Zeny - .@price;
- getitem .@prize, rand(100,220);
+ POL_PlayerMoney(.@price);
+ getitem .@prize, rand2(180,220);
mes "";
mesn;