diff options
-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); |