From f5b381eee17515ebe0f45479de2d740c1d2321e2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 4 Dec 2022 17:40:07 -0300 Subject: Lt. Dausen and Pylon now give Sulfur Powder --- npc/007-1/pylon.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'npc/007-1') diff --git a/npc/007-1/pylon.txt b/npc/007-1/pylon.txt index ed2f2c015..f6917f88a 100644 --- a/npc/007-1/pylon.txt +++ b/npc/007-1/pylon.txt @@ -93,12 +93,14 @@ L_MenuOre: L_OreOk: // Amount iron ore .@amo=rand2(1,2); + inventoryplace IronPowder, .@amo, SulfurPowder, 1; delitem IronOre, 1; Zeny = Zeny - 100; getexp 10, 0; - inventoryplace IronPowder, .@amo; getitem IronPowder, .@amo; + if (!(rand2(BaseLevel)/2)) + getitem SulfurPowder, 1; mes ""; mesn; mesq l("Here you go, I tried my best! Do you want another?"); @@ -114,14 +116,17 @@ L_Powder: // Amount .@am=rand2(1,3); + inventoryplace .@pw, .@am; + // Del items and EXP delitem .@id, 1; Zeny = Zeny - 100; getexp 60, 0; - - inventoryplace .@pw, .@am; + // Get items getitem .@pw, .@am; + if (!(rand2(BaseLevel)/2)) + getitem SulfurPowder, 1; mes ""; mesn; -- cgit v1.2.3-60-g2f50