diff options
Diffstat (limited to 'npc/007-1')
-rw-r--r-- | npc/007-1/pylon.txt | 11 |
1 files changed, 8 insertions, 3 deletions
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; |