From 22fbb497f47845736ba1fcdc957168d2bb682d20 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 13 Jul 2018 00:14:56 -0300 Subject: Fix Pihro --- npc/017-4/pihro.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'npc/017-4') 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); -- cgit v1.2.3-70-g09d2