diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-15 14:37:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-15 14:37:31 -0300 |
commit | 80f0135b4b09ea9198c4bdc4ad7b99373d8c053b (patch) | |
tree | 8e3abcb38af58ba27e60b6bf7cb9132dd7edc5ed | |
parent | 1bb7efd20540844d55d364306a5c1259745988e6 (diff) | |
download | serverdata-80f0135b4b09ea9198c4bdc4ad7b99373d8c053b.tar.gz serverdata-80f0135b4b09ea9198c4bdc4ad7b99373d8c053b.tar.bz2 serverdata-80f0135b4b09ea9198c4bdc4ad7b99373d8c053b.tar.xz serverdata-80f0135b4b09ea9198c4bdc4ad7b99373d8c053b.zip |
All to guild craft with possible final stats and values every potion...
...Which does not raises stats.
-rw-r--r-- | npc/guilds/logs.txt | 51 |
1 files changed, 46 insertions, 5 deletions
diff --git a/npc/guilds/logs.txt b/npc/guilds/logs.txt index c81789fb5..33863da81 100644 --- a/npc/guilds/logs.txt +++ b/npc/guilds/logs.txt @@ -12,8 +12,27 @@ guilds,47,39,0 script Guild Logs NPC_NO_SPRITE,{ .@gid=getcharid(2); mes ".:: " + l("Alchemy Recipes") + " ::."; + // Healing showRecipe(CraftPiberriesInfusion, PiberriesInfusion, 5, Piberries, 1, Curshroom); + + // General Boosts + showRecipe(CraftHastePotion, HastePotion, + 15, Plushroom); + showRecipe(CraftStrengthPotion, StrengthPotion, + 15, Chagashroom); + showRecipe(CraftResetPotion, StatusResetPotion, + 90, ManaPiouFeathers, 10, Curshroom); + showRecipe(CraftSpeedPotion, MoveSpeedPotion, + 1, GemPowder, 5, FluoPowder); + showRecipe(CraftPrecisionPotion, PrecisionPotion, + 3, Piberries, 1, MountainSnakeEgg); + showRecipe(CraftDodgePotion, DodgePotion, + 3, Piberries, 1, SnakeEgg); + + // Stats Boosts + + // Limit Boosts showRecipe(CraftSacredManaPot, SacredManaPotion, 1, GoldenApple, 15, CelestiaTea); showRecipe(CraftSacredLifePot, SacredLifePotion, @@ -60,13 +79,33 @@ guilds,47,39,0 script Guild Logs NPC_NO_SPRITE,{ do { clearRecipe(); - // Setup the Recipes + // Healing Recipes if (!showRecipe(CraftPiberriesInfusion, false)) calcRecipe(CraftPiberriesInfusion, 3, 10000, l("Piberries Infusion")); + + // General Boosts + if (!showRecipe(CraftHastePotion, false)) + calcRecipe(CraftHastePotion, 2, 5000, l("Haste Potion")); + if (!showRecipe(CraftStrengthPotion, false)) + calcRecipe(CraftStrengthPotion, 2, 5000, l("Strength Potion")); + + if (!showRecipe(CraftResetPotion, false)) + calcRecipe(CraftResetPotion, 4, 50000, l("Status Reset Potion")); + if (!showRecipe(CraftSpeedPotion, false)) + calcRecipe(CraftSpeedPotion, 4, 50000, l("Movement Speed Potion")); + + if (!showRecipe(CraftPrecisionPotion, false)) + calcRecipe(CraftPrecisionPotion, 5, 20000, l("Precision Potion")); + if (!showRecipe(CraftDodgePotion, false)) + calcRecipe(CraftDodgePotion, 5, 20000, l("Dodge Potion")); + + // Stats Boosts + + // Limit Boosts if (!showRecipe(CraftSacredManaPot, false)) - calcRecipe(CraftSacredManaPot, 5, 100000, l("Sacred Mana Potion")); + calcRecipe(CraftSacredManaPot, 7, 100000, l("Sacred Mana Potion")); if (!showRecipe(CraftSacredLifePot, false)) - calcRecipe(CraftSacredLifePot, 5, 100000, l("Sacred Life Potion")); + calcRecipe(CraftSacredLifePot, 7, 100000, l("Sacred Life Potion")); } while (!hudRecipe()); break; @@ -86,8 +125,10 @@ function showRecipe { debugmes "Hooray! It exists! We have %d defined", getarg(1); if (getarg(1)) { mesn l("Craft @@", getitemlink(getarg(1))); - mesc l("* @@ @@", getarg(2), getitemlink(getarg(3))); - mesc l("* @@ @@", getarg(4), getitemlink(getarg(5))); + if (getarg(2,0)) + mesc l("* @@ @@", getarg(2), getitemlink(getarg(3))); + if (getarg(4,0)) + mesc l("* @@ @@", getarg(4), getitemlink(getarg(5))); mes ""; } //debugmes "You got it: %d (global: %d)", getarg(0), $RECIPES_ALCHEMY[getcharid(2)]; |