summaryrefslogtreecommitdiff
path: root/npc/017-4/pyndragon.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-4/pyndragon.txt')
-rw-r--r--npc/017-4/pyndragon.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/017-4/pyndragon.txt b/npc/017-4/pyndragon.txt
index 2a896cf6c..efcaaf93e 100644
--- a/npc/017-4/pyndragon.txt
+++ b/npc/017-4/pyndragon.txt
@@ -16,6 +16,8 @@
.@prize=getarg(6);
.@price=getarg(7);
+ .@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));
@@ -39,7 +41,7 @@
delitem .@base1, .@amon1;
delitem .@base2, .@amon2;
delitem .@base3, .@amon3;
- Zeny = Zeny - .@price;
+ POL_PlayerMoney(.@price);
//getitem .@prize, 1;
CsysNpcCraft(.@prize, IOPT_CRITDMG, 30, IOPT_DOUBLEATTACK, rand2(0, 15));