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-4/pihro.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-4/pihro.txt')
-rw-r--r-- | npc/017-4/pihro.txt | 6 |
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; |