summaryrefslogtreecommitdiff
path: root/npc/012-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-11-09 17:12:51 -0300
committerJesusaves <cpntb1@ymail.com>2019-11-09 17:12:51 -0300
commitf209136a0fceb83c8265e7394a43c4ddd6681442 (patch)
tree0998574730442b696703b39facadbce38aaaeaf0 /npc/012-5
parent37bb67f41943c0c4f87005b8d3e9f9ca677f4f2a (diff)
downloadserverdata-f209136a0fceb83c8265e7394a43c4ddd6681442.tar.gz
serverdata-f209136a0fceb83c8265e7394a43c4ddd6681442.tar.bz2
serverdata-f209136a0fceb83c8265e7394a43c4ddd6681442.tar.xz
serverdata-f209136a0fceb83c8265e7394a43c4ddd6681442.zip
Nicholas will now follow the new rule, this also affects tweaks
Diffstat (limited to 'npc/012-5')
-rw-r--r--npc/012-5/nicholas.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt
index 5fce87e66..aa11bc919 100644
--- a/npc/012-5/nicholas.txt
+++ b/npc/012-5/nicholas.txt
@@ -39,6 +39,9 @@
.@prize=getarg(4);
.@price=getarg(5);
+ // Adjust price
+ .@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));
@@ -58,7 +61,7 @@
inventoryplace .@prize, 1;
delitem .@base1, .@amon1;
delitem .@base2, .@amon2;
- Zeny = Zeny - .@price;
+ POL_PlayerMoney(.@price);
// craft the item with +30% crit dmg (weapons) or +1 random stat (etc)
if (array_find(.WeaponCraft, .@prize) >= 0)