diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-13 00:14:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-13 00:14:56 -0300 |
commit | 22fbb497f47845736ba1fcdc957168d2bb682d20 (patch) | |
tree | 75415c22ae131f7f89511044b0486f4ac60df19a /npc/017-4 | |
parent | 5447c0e512d63b3b7642f3daafde072224ec850b (diff) | |
download | serverdata-22fbb497f47845736ba1fcdc957168d2bb682d20.tar.gz serverdata-22fbb497f47845736ba1fcdc957168d2bb682d20.tar.bz2 serverdata-22fbb497f47845736ba1fcdc957168d2bb682d20.tar.xz serverdata-22fbb497f47845736ba1fcdc957168d2bb682d20.zip |
Fix Pihro
Diffstat (limited to 'npc/017-4')
-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 ed8de51d6..d9bb3d3d3 100644 --- a/npc/017-4/pihro.txt +++ b/npc/017-4/pihro.txt @@ -48,8 +48,10 @@ Zeny >= .@price) { inventoryplace .@prize, 220; delitem .@base1, .@amon1; - delitem .@base2, .@amon2; - delitem .@base3, .@amon3; + if (.@base2 > 0) + delitem .@base2, .@amon2; + if (.@base3 > 0) + delitem .@base3, .@amon3; Zeny = Zeny - .@price; getitem .@prize, rand(100,220); |