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 | |
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')
-rw-r--r-- | npc/017-4/pihro.txt | 6 | ||||
-rw-r--r-- | npc/017-4/pyndragon.txt | 4 |
2 files changed, 7 insertions, 3 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; 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)); |