summaryrefslogtreecommitdiff
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
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
-rw-r--r--npc/003-1/lieutenantdausen.txt3
-rw-r--r--npc/007-1/pylon.txt11
-rw-r--r--npc/functions/clientversion.txt2
3 files changed, 12 insertions, 4 deletions
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt
index f112602d4..57a1a39b7 100644
--- a/npc/003-1/lieutenantdausen.txt
+++ b/npc/003-1/lieutenantdausen.txt
@@ -232,8 +232,9 @@ function DausenMobTutorial {
mesn;
mesq l("Knowledge is power... And now you have both. Use them wisely.");
next;
- inventoryplace Coal, 6;
+ inventoryplace Coal, 6, SulfurPowder, 3;
getitem Coal, 6;
+ getitem SulfurPowder, 3;
setq TulimsharQuest_MobTutorial, 8, 0;
// ~30% of exp values
getexp 2100, 0;
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;
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 48f5ca398..3f7d0abde 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1086,6 +1086,8 @@ function script clientupdater {
getitem TrainingArrow, 220;
if (getq3(TulimsharQuest_Swezanne) > 30)
getitem MercCard_Swezanne, 9 * (getq3(TulimsharQuest_Swezanne)/30);
+ if (getq(TulimsharQuest_MobTutorial) >= 8)
+ getitem SulfurPowder, 3;
}
// :// End of Regular Update System