summaryrefslogtreecommitdiff
path: root/npc/007-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-04 17:40:07 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-04 17:40:07 -0300
commitf5b381eee17515ebe0f45479de2d740c1d2321e2 (patch)
tree18588c4f6daf138d85e1e0621ea82a732f8beff2 /npc/007-1
parenteb19279e12fddefb98f4b13b9dd80507b99ba630 (diff)
downloadserverdata-f5b381eee17515ebe0f45479de2d740c1d2321e2.tar.gz
serverdata-f5b381eee17515ebe0f45479de2d740c1d2321e2.tar.bz2
serverdata-f5b381eee17515ebe0f45479de2d740c1d2321e2.tar.xz
serverdata-f5b381eee17515ebe0f45479de2d740c1d2321e2.zip
Lt. Dausen and Pylon now give Sulfur Powder
Diffstat (limited to 'npc/007-1')
-rw-r--r--npc/007-1/pylon.txt11
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;