public override void SetPotionProperties() { EffectSettings createitemSettings = SetEffectMagnitude(DefaultEffectSettings(), 6, 6, 7, 7, 1); PotionRecipe createitem = new PotionRecipe( "Forge", 161, DefaultEffectSettings(), (int)CreatureIngredients1.Giant_blood, (int)MiscellaneousIngredients1.Ichor, (int)PlantIngredients2.Cactus, (int)MetalIngredients.Lead); // Assign recipes AssignPotionRecipes(createitem); createitem.TextureRecord = 34; }
public override void SetPotionProperties() { PotionRecipe dispeldaedra = new PotionRecipe( "Exorcism", 157, DefaultEffectSettings(), (int)CreatureIngredients1.Ectoplasm, (int)CreatureIngredients3.Nymph_hair, (int)PlantIngredients1.Golden_poppy, (int)MiscellaneousIngredients1.Ichor, (int)CreatureIngredients1.Daedra_heart); // Assign recipes AssignPotionRecipes(dispeldaedra); dispeldaedra.TextureRecord = 13; }
public override void SetPotionProperties() { EffectSettings spellresistanceSettings = SetEffectMagnitude(DefaultEffectSettings(), 7, 7, 7, 7, 1); PotionRecipe spellresistance = new PotionRecipe( "Arcane Protection", 160, DefaultEffectSettings(), (int)CreatureIngredients1.Lich_dust, (int)CreatureIngredients2.Gryphon_Feather, (int)PlantIngredients1.Root_bulb, (int)MetalIngredients.Silver); // Assign recipes AssignPotionRecipes(spellresistance); spellresistance.TextureRecord = 12; }
public override void SetPotionProperties() { // Magnitude 5-5 + 4-4 per 1 levels EffectSettings restorePowerSettings = SetEffectMagnitude(DefaultEffectSettings(), 5, 5, 4, 4, 1); PotionRecipe restorePower = new PotionRecipe( "restorePower", 75, restorePowerSettings, (int)Items.MiscellaneousIngredients1.Nectar, (int)Items.MetalIngredients.Silver, (int)Items.CreatureIngredients1.Werewolfs_blood, (int)Items.CreatureIngredients1.Saints_hair); // Assign recipe restorePower.TextureRecord = 12; AssignPotionRecipes(restorePower); }
public override void SetPotionProperties() { EffectSettings spellabsorptionSettings = SetEffectMagnitude(DefaultEffectSettings(), 5, 5, 8, 8, 1); PotionRecipe spellabsorption = new PotionRecipe( "Magic Absorption", 162, DefaultEffectSettings(), (int)CreatureIngredients3.Unicorn_horn, (int)CreatureIngredients1.Werewolfs_blood, (int)MetalIngredients.Brass, (int)CreatureIngredients1.Daedra_heart, (int)PlantIngredients2.Fig); // Assign recipes AssignPotionRecipes(spellabsorption); spellabsorption.TextureRecord = 35; }
public override void SetPotionProperties() { EffectSettings regeneratespellpointsSettings = SetEffectMagnitude(DefaultEffectSettings(), 10, 10, 6, 6, 1); PotionRecipe regeneratespellpoints = new PotionRecipe( "Magicka Regeneration", 165, regeneratespellpointsSettings, (int)MiscellaneousIngredients1.Rain_water, (int)PlantIngredients2.Yellow_flowers, (int)CreatureIngredients1.Spider_venom, (int)PlantIngredients1.Pine_branch, (int)CreatureIngredients2.Small_scorpion_stinger); // Assign recipes AssignPotionRecipes(regeneratespellpoints); regeneratespellpoints.TextureRecord = 12; }
public override void SetPotionProperties() { // Duration 10 + 0 per 1 levels EffectSettings safeLandingSettings = SetEffectDuration(DefaultEffectSettings(), 10, 0, 1); PotionRecipe safeLanding = new PotionRecipe( "Safe Landing", 16, 0, 25, safeLandingSettings, (int)Items.SolventIngredients.Rain_water, (int)Items.MiscPlantIngredients.Green_leaves, (int)Items.MiscPlantIngredients.Palm, (int)Items.CreatureIngredients.Harpy_Feather); safeLanding.TextureRecord = 35; AssignPotionRecipes(safeLanding); }
public override void SetPotionProperties() { // Duration 20 + 0 per 1 levels EffectSettings gillsSettings = SetEffectDuration(DefaultEffectSettings(), 20, 0, 1); PotionRecipe gills = new PotionRecipe( "Gills", 27, 0, 30, gillsSettings, (int)Items.SolventIngredients.Rain_water, (int)Items.MiscPlantIngredients.Palm, (int)Items.AnimalPartIngredients.Pearl, (int)Items.AnimalPartIngredients.Small_tooth); gills.TextureRecord = 32; AssignPotionRecipes(gills); }
public override void SetPotionProperties() { // Duration 180 + 0 per 1 levels EffectSettings lightSpriteSettings = SetEffectDuration(DefaultEffectSettings(), 180, 0, 1); PotionRecipe lightSprite = new PotionRecipe( "Light Sprite", 15, 0, 25, lightSpriteSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FlowerPlantIngredients.Golden_poppy, (int)Items.MiscPlantIngredients.Twigs, (int)Items.MetalIngredients.Sulphur); lightSprite.TextureRecord = 34; AssignPotionRecipes(lightSprite); }
public override void SetPotionProperties() { // Duration 25 + 0 per 1 levels, Magnitude 20-20 + 0-0 per 1 levels EffectSettings ironWillSettings = SetEffectDuration(DefaultEffectSettings(), 25, 0, 1); ironWillSettings = SetEffectMagnitude(ironWillSettings, 20, 20, 0, 0, 1); PotionRecipe ironWill = new PotionRecipe( "Iron Will", 35, 0, 40, ironWillSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FlowerPlantIngredients.Red_Flowers, (int)Items.MiscPlantIngredients.Root_bulb, (int)Items.MiscPlantIngredients.Twigs, (int)Items.AnimalPartIngredients.Big_tooth, (int)Items.CreatureIngredients.Orcs_blood, (int)Items.MetalIngredients.Iron); // Duration 30 + 0 per 1 levels, Magnitude 45-45 + 0-0 per 1 levels EffectSettings unwaveringDeterminationSettings = SetEffectDuration(DefaultEffectSettings(), 30, 0, 1); unwaveringDeterminationSettings = SetEffectMagnitude(unwaveringDeterminationSettings, 45, 45, 0, 0, 1); PotionRecipe unwaveringDetermination = new PotionRecipe( "Unwavering Determination", 115, 0, 80, unwaveringDeterminationSettings, (int)Items.SolventIngredients.Nectar, (int)Items.MiscPlantIngredients.Root_bulb, (int)Items.CreatureIngredients.Orcs_blood, (int)Items.CreatureIngredients.Giant_blood, (int)Items.CreatureIngredients.Wereboar_tusk, (int)Items.MetalIngredients.Iron, (int)Items.MetalIngredients.Brass, (int)Items.Gems.Jade); // Assign recipe ironWill.TextureRecord = 1; unwaveringDetermination.TextureRecord = 3; AssignPotionRecipes(ironWill, unwaveringDetermination); }
public override void SetPotionProperties() { // Duration 20 + 0 per 1 levels, Chance 50-50 + 0-0 per 1 levels EffectSettings partSpellAbsorptionSettings = SetEffectDuration(DefaultEffectSettings(), 20, 0, 1); partSpellAbsorptionSettings = SetEffectChance(partSpellAbsorptionSettings, 50, 0, 1); PotionRecipe partSpellAbsorption = new PotionRecipe( "Partial Spell Absorption", 85, 0, 65, partSpellAbsorptionSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FlowerPlantIngredients.Red_poppy, (int)Items.MiscPlantIngredients.Root_bulb, (int)Items.MiscPlantIngredients.Root_tendrils, (int)Items.CreatureIngredients.Ghouls_tongue, (int)Items.CreatureIngredients.Nymph_hair, (int)Items.MetalIngredients.Silver); // Duration 15 + 0 per 1 levels, Chance 100-100 + 0-0 per 1 levels EffectSettings spellSpongeSettings = SetEffectDuration(DefaultEffectSettings(), 15, 0, 1); spellSpongeSettings = SetEffectChance(spellSpongeSettings, 100, 0, 1); PotionRecipe spellSponge = new PotionRecipe( "Spell Sponge", 525, 0, 100, spellSpongeSettings, (int)Items.SolventIngredients.Elixir_vitae, (int)Items.MiscPlantIngredients.Root_bulb, (int)Items.MiscPlantIngredients.Root_tendrils, (int)Items.CreatureIngredients.Ghouls_tongue, (int)Items.CreatureIngredients.Lich_dust, (int)Items.CreatureIngredients.Wraith_essence, (int)Items.MetalIngredients.Lodestone, (int)Items.Gems.Ruby); // Assign recipe partSpellAbsorption.TextureRecord = 6; spellSponge.TextureRecord = 7; AssignPotionRecipes(partSpellAbsorption, spellSponge); }
public override void SetPotionProperties() { // Duration 15 + 0 per 1 levels, Chance 50-50 + 0-0 per 1 levels EffectSettings imperfectMirrorSettings = SetEffectDuration(DefaultEffectSettings(), 15, 0, 1); imperfectMirrorSettings = SetEffectChance(imperfectMirrorSettings, 50, 0, 1); PotionRecipe imperfectMirror = new PotionRecipe( "Imperfect Mirror", 140, 0, 65, imperfectMirrorSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FruitPlantIngredients.Cactus, (int)Items.FlowerPlantIngredients.White_rose, (int)Items.FlowerPlantIngredients.Black_rose, (int)Items.CreatureIngredients.Wereboar_tusk, (int)Items.MetalIngredients.Tin, (int)Items.MetalIngredients.Mercury, (int)Items.Gems.Turquoise); // Duration 10 + 0 per 1 levels, Chance 100-100 + 0-0 per 1 levels EffectSettings perfectMirrorSettings = SetEffectDuration(DefaultEffectSettings(), 10, 0, 1); perfectMirrorSettings = SetEffectChance(perfectMirrorSettings, 100, 0, 1); PotionRecipe perfectMirror = new PotionRecipe( "Perfect Mirror", 890, 0, 100, perfectMirrorSettings, (int)Items.SolventIngredients.Elixir_vitae, (int)Items.FruitPlantIngredients.Cactus, (int)Items.CreatureIngredients.Unicorn_horn, (int)Items.CreatureIngredients.Basilisk_eye, (int)Items.MetalIngredients.Platinum, (int)Items.MetalIngredients.Mercury, (int)Items.Gems.Diamond); // Assign recipe imperfectMirror.TextureRecord = 32; perfectMirror.TextureRecord = 3; AssignPotionRecipes(imperfectMirror, perfectMirror); }
public override void SetPotionProperties() { // Duration 15 + 0 per 1 levels EffectSettings springShoesSettings = SetEffectDuration(DefaultEffectSettings(), 15, 0, 1); PotionRecipe springShoes = new PotionRecipe( "Spring Shoes", 19, 0, 30, springShoesSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FlowerPlantIngredients.Yellow_rose, (int)Items.MiscPlantIngredients.Pine_branch, (int)Items.MiscPlantIngredients.Bamboo, (int)Items.MetalIngredients.Tin); springShoes.TextureRecord = 14; AssignPotionRecipes(springShoes); }
public override void SetPotionProperties() { // Duration 15 + 0 per 1 levels EffectSettings monkeyGripSettings = SetEffectDuration(DefaultEffectSettings(), 15, 0, 1); PotionRecipe monkeyGrip = new PotionRecipe( "Monkey's Grip", 26, 0, 40, monkeyGripSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FruitPlantIngredients.Cactus, (int)Items.FruitPlantIngredients.Yellow_berries, (int)Items.MiscPlantIngredients.Root_tendrils, (int)Items.MiscPlantIngredients.Pine_branch, (int)Items.MetalIngredients.Lodestone); AssignPotionRecipes(monkeyGrip); }
public override void SetPotionProperties() { // Duration 20 + 0 per 1 levels EffectSettings lesserShadowFormSettings = SetEffectDuration(DefaultEffectSettings(), 20, 0, 1); PotionRecipe lesserShadowForm = new PotionRecipe( "Lesser Shadow Form", 28, 0, 45, lesserShadowFormSettings, (int)Items.SolventIngredients.Pure_water, (int)Items.FruitPlantIngredients.Fig, (int)Items.FlowerPlantIngredients.Black_rose, (int)Items.FlowerPlantIngredients.Black_poppy, (int)Items.MiscPlantIngredients.Root_bulb, (int)Items.MetalIngredients.Lead); AssignPotionRecipes(lesserShadowForm); }
public override void SetPotionProperties() { // Duration 25 + 0 per 1 levels, Magnitude 20-20 + 0-0 per 1 levels EffectSettings hareSpeedSettings = SetEffectDuration(DefaultEffectSettings(), 25, 0, 1); hareSpeedSettings = SetEffectMagnitude(hareSpeedSettings, 20, 20, 0, 0, 1); PotionRecipe hareSpeed = new PotionRecipe( "Hare Speed", 33, 0, 50, hareSpeedSettings, (int)Items.SolventIngredients.Pure_water, (int)Items.FlowerPlantIngredients.Red_poppy, (int)Items.FlowerPlantIngredients.Yellow_Flowers, (int)Items.MiscPlantIngredients.Bamboo, (int)Items.AnimalPartIngredients.Small_scorpion_stinger, (int)Items.AnimalPartIngredients.Small_tooth, (int)Items.MetalIngredients.Copper); // Duration 30 + 0 per 1 levels, Magnitude 45-45 + 0-0 per 1 levels EffectSettings kynarethSwiftnessSettings = SetEffectDuration(DefaultEffectSettings(), 30, 0, 1); kynarethSwiftnessSettings = SetEffectMagnitude(kynarethSwiftnessSettings, 45, 45, 0, 0, 1); PotionRecipe kynarethSwiftness = new PotionRecipe( "Kynareth's Swiftness", 185, 0, 90, kynarethSwiftnessSettings, (int)Items.SolventIngredients.Pure_water, (int)Items.FlowerPlantIngredients.Yellow_Flowers, (int)Items.MiscPlantIngredients.Bamboo, (int)Items.CreatureIngredients.Harpy_Feather, (int)Items.CreatureIngredients.Werewolfs_blood, (int)Items.CreatureIngredients.Fairy_dragon_scales, (int)Items.MetalIngredients.Mercury); // Assign recipe hareSpeed.TextureRecord = 35; kynarethSwiftness.TextureRecord = 32; AssignPotionRecipes(hareSpeed, kynarethSwiftness); }
public override void SetPotionProperties() { // Duration 15 + 0 per 1 levels EffectSettings waterStrideSettings = SetEffectDuration(DefaultEffectSettings(), 15, 0, 1); PotionRecipe waterStride = new PotionRecipe( "Water Stride", 40, 0, 35, waterStrideSettings, (int)Items.SolventIngredients.Rain_water, (int)Items.SolventIngredients.Pure_water, (int)Items.MiscPlantIngredients.Palm, (int)Items.AnimalPartIngredients.Pearl, (int)Items.MetalIngredients.Silver); waterStride.TextureRecord = 35; AssignPotionRecipes(waterStride); }
public override void SetPotionProperties() { // Chance 100-100 + 0-0 per 1 levels EffectSettings cureParalysisSettings = SetEffectChance(DefaultEffectSettings(), 100, 0, 1); PotionRecipe cureParalysis = new PotionRecipe( "Cure Paralysis", 28, 0, 35, cureParalysisSettings, (int)Items.SolventIngredients.Rain_water, (int)Items.FruitPlantIngredients.Yellow_berries, (int)Items.AnimalPartIngredients.Spider_venom, (int)Items.AnimalPartIngredients.Giant_scorpion_stinger, (int)Items.AnimalPartIngredients.Small_tooth); cureParalysis.TextureRecord = 14; AssignPotionRecipes(cureParalysis); }
public override void SetPotionProperties() { // Duration 25 + 0 per 1 levels, Magnitude 20-20 + 0-0 per 1 levels EffectSettings dumbLuckSettings = SetEffectDuration(DefaultEffectSettings(), 25, 0, 1); dumbLuckSettings = SetEffectMagnitude(dumbLuckSettings, 20, 20, 0, 0, 1); PotionRecipe dumbLuck = new PotionRecipe( "Dumb Luck", 57, 0, 40, dumbLuckSettings, (int)Items.SolventIngredients.Rain_water, (int)Items.FlowerPlantIngredients.Clover, (int)Items.FlowerPlantIngredients.Golden_poppy, (int)Items.AnimalPartIngredients.Ivory, (int)Items.CreatureIngredients.Nymph_hair, (int)Items.MetalIngredients.Gold); // Duration 30 + 0 per 1 levels, Magnitude 45-45 + 0-0 per 1 levels EffectSettings zenitharFortuneSettings = SetEffectDuration(DefaultEffectSettings(), 30, 0, 1); zenitharFortuneSettings = SetEffectMagnitude(zenitharFortuneSettings, 45, 45, 0, 0, 1); PotionRecipe zenitharFortune = new PotionRecipe( "Zenithar's Fortune", 145, 0, 85, zenitharFortuneSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FlowerPlantIngredients.Clover, (int)Items.CreatureIngredients.Werewolfs_blood, (int)Items.CreatureIngredients.Giant_blood, (int)Items.MetalIngredients.Silver, (int)Items.MetalIngredients.Gold, (int)Items.MetalIngredients.Platinum, (int)Items.Gems.Jade); // Assign recipe dumbLuck.TextureRecord = 34; zenitharFortune.TextureRecord = 1; AssignPotionRecipes(dumbLuck, zenitharFortune); }
public override void SetPotionProperties() { EffectSettings healspellpointslogicSettings = new EffectSettings(); healspellpointslogicSettings = SetEffectMagnitude(healspellpointslogicSettings, 36, 36, 11, 11, 1); PotionRecipe healspellpointslogic = new PotionRecipe( "Magicka Renewal", 164, healspellpointslogicSettings, (int)MiscellaneousIngredients1.Nectar, (int)CreatureIngredients1.Fairy_dragon_scales, (int)CreatureIngredients2.Giant_scorpion_stinger, (int)MetalIngredients.Silver); // Assign recipes AssignPotionRecipes(healspellpointslogic); healspellpointslogic.TextureRecord = 34; }
/// Author: JT Esmond /// 4/10/2021 /// <summary> /// Function that turns on the pop ups for the potion recipes /// </summary> public void PotionPopUp(Interactable collected, PotionRecipe potion) { Time.timeScale = 0f; GameIsPaused = true; transform.GetChild(0).gameObject.SetActive(true); foreach (ScriptablePopUp popUp in PopUps) { if (collected.GetType() == popUp.ObjRef.GetComponent <Interactable>().GetType()) { //checks which potion recipe is being picked up then displays the corresponding pop up if (potion == PotionRecipes[0]) { listLocation = 5; global::PopUp.Instance.UpdateInteractableInfo(listLocation); } else if (potion == PotionRecipes[1]) { global::PopUp.Instance.UpdateInteractableInfo(5); } else if (potion == PotionRecipes[2]) { listLocation = 8; global::PopUp.Instance.UpdateInteractableInfo(listLocation); } else if (potion == PotionRecipes[3]) { listLocation = 6; global::PopUp.Instance.UpdateInteractableInfo(listLocation); } else if (potion == PotionRecipes[4]) { listLocation = 7; global::PopUp.Instance.UpdateInteractableInfo(listLocation); } else if (potion == PotionRecipes[5]) { listLocation = 9; global::PopUp.Instance.UpdateInteractableInfo(listLocation); } } } }
public override void SetPotionProperties() { // Duration 25 + 0 per 1 levels, Magnitude 20-20 + 0-0 per 1 levels EffectSettings CharismaSettings = SetEffectDuration(DefaultEffectSettings(), 25, 0, 1); CharismaSettings = SetEffectMagnitude(CharismaSettings, 20, 20, 0, 0, 1); PotionRecipe Charisma = new PotionRecipe( "Charisma", 32, 0, 40, CharismaSettings, (int)Items.SolventIngredients.Rain_water, (int)Items.FlowerPlantIngredients.Red_rose, (int)Items.FlowerPlantIngredients.Yellow_rose, (int)Items.MiscPlantIngredients.Aloe, (int)Items.CreatureIngredients.Ghouls_tongue, (int)Items.MetalIngredients.Lead); // Duration 30 + 0 per 1 levels, Magnitude 45-45 + 0-0 per 1 levels EffectSettings dibellaAllureSettings = SetEffectDuration(DefaultEffectSettings(), 30, 0, 1); dibellaAllureSettings = SetEffectMagnitude(dibellaAllureSettings, 45, 45, 0, 0, 1); PotionRecipe dibellaAllure = new PotionRecipe( "Dibella's Allure", 96, 0, 80, dibellaAllureSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FlowerPlantIngredients.Red_rose, (int)Items.AnimalPartIngredients.Snake_venom, (int)Items.CreatureIngredients.Nymph_hair, (int)Items.CreatureIngredients.Ghouls_tongue, (int)Items.CreatureIngredients.Gorgon_snake, (int)Items.MetalIngredients.Lodestone); // Assign recipe Charisma.TextureRecord = 33; dibellaAllure.TextureRecord = 7; AssignPotionRecipes(Charisma, dibellaAllure); }
public override void SetPotionProperties() { // Duration 20 + 0 per 1 levels EffectSettings trueShadowFormSettings = SetEffectDuration(DefaultEffectSettings(), 20, 0, 1); PotionRecipe trueShadowForm = new PotionRecipe( "True Shadow Form", 82, 0, 85, trueShadowFormSettings, (int)Items.SolventIngredients.Pure_water, (int)Items.FlowerPlantIngredients.Black_rose, (int)Items.FlowerPlantIngredients.Black_poppy, (int)Items.CreatureIngredients.Ectoplasm, (int)Items.CreatureIngredients.Harpy_Feather, (int)Items.MetalIngredients.Lead); trueShadowForm.TextureRecord = 35; AssignPotionRecipes(trueShadowForm); }
public override void SetPotionProperties() { // Chance 100-100 + 0-0 per 1 levels EffectSettings curePoisonSettings = SetEffectChance(DefaultEffectSettings(), 100, 0, 1); PotionRecipe curePoison = new PotionRecipe( "Cure Poison", 34, 0, 40, curePoisonSettings, (int)Items.SolventIngredients.Pure_water, (int)Items.FruitPlantIngredients.Green_berries, (int)Items.AnimalPartIngredients.Snake_venom, (int)Items.AnimalPartIngredients.Spider_venom, (int)Items.AnimalPartIngredients.Small_scorpion_stinger, (int)Items.AnimalPartIngredients.Small_tooth); curePoison.TextureRecord = 14; AssignPotionRecipes(curePoison); }
public override void SetPotionProperties() { // Duration 15 + 0 per 1 levels EffectSettings lesserInvisibilitySettings = SetEffectDuration(DefaultEffectSettings(), 15, 0, 1); PotionRecipe lesserInvisibility = new PotionRecipe( "Lesser Invisibility", 100, 0, 70, lesserInvisibilitySettings, (int)Items.SolventIngredients.Pure_water, (int)Items.FlowerPlantIngredients.White_rose, (int)Items.FlowerPlantIngredients.White_poppy, (int)Items.AnimalPartIngredients.Ivory, (int)Items.CreatureIngredients.Ectoplasm, (int)Items.MetalIngredients.Platinum); lesserInvisibility.TextureRecord = 32; AssignPotionRecipes(lesserInvisibility); }
public override void SetPotionProperties() { // Duration 20 + 0 per 1 levels EffectSettings lesserChameleonFormSettings = SetEffectDuration(DefaultEffectSettings(), 20, 0, 1); PotionRecipe lesserChameleonForm = new PotionRecipe( "Lesser Chameleon Form", 18, 0, 30, lesserChameleonFormSettings, (int)Items.SolventIngredients.Rain_water, (int)Items.FruitPlantIngredients.Green_berries, (int)Items.FlowerPlantIngredients.Red_Flowers, (int)Items.FlowerPlantIngredients.Yellow_Flowers, (int)Items.MiscPlantIngredients.Green_leaves, (int)Items.MiscPlantIngredients.Twigs); lesserChameleonForm.TextureRecord = 14; AssignPotionRecipes(lesserChameleonForm); }
public override string Potion() { // %po string potionName = PotionRecipe.UnknownPowers; PotionRecipe potionRecipe = GameManager.Instance.EntityEffectBroker.GetPotionRecipe(parent.potionRecipeKey); if (potionRecipe != null) { potionName = potionRecipe.DisplayName; } if (parent.IsPotionRecipe) { return(potionName); // "Potion recipe for %po" } else if (parent.IsPotion) { return(HardStrings.potionOf.Replace("%po", potionName)); // "Potion of %po" (255=Unknown Powers) } throw new NotImplementedException(); }
public override void SetPotionProperties() { // Duration 25 + 0 per 1 levels, Magnitude 20-20 + 0-0 per 1 levels EffectSettings orcStrengthSettings = SetEffectDuration(DefaultEffectSettings(), 25, 0, 1); orcStrengthSettings = SetEffectMagnitude(orcStrengthSettings, 20, 20, 0, 0, 1); PotionRecipe orcStrength = new PotionRecipe( "Orc Strength", 30, 0, 35, orcStrengthSettings, (int)Items.SolventIngredients.Pure_water, (int)Items.MiscPlantIngredients.Root_tendrils, (int)Items.AnimalPartIngredients.Big_tooth, (int)Items.CreatureIngredients.Orcs_blood, (int)Items.MetalIngredients.Iron); // Duration 30 + 0 per 1 levels, Magnitude 45-45 + 0-0 per 1 levels EffectSettings giantStrengthSettings = SetEffectDuration(DefaultEffectSettings(), 30, 0, 1); giantStrengthSettings = SetEffectMagnitude(giantStrengthSettings, 45, 45, 0, 0, 1); PotionRecipe giantStrength = new PotionRecipe( "Giant Strength", 75, 0, 70, giantStrengthSettings, (int)Items.SolventIngredients.Pure_water, (int)Items.MiscPlantIngredients.Root_tendrils, (int)Items.AnimalPartIngredients.Big_tooth, (int)Items.CreatureIngredients.Giant_blood, (int)Items.CreatureIngredients.Giant_blood, (int)Items.MetalIngredients.Iron, (int)Items.MetalIngredients.Lodestone); // Assign recipe orcStrength.TextureRecord = 13; giantStrength.TextureRecord = 6; AssignPotionRecipes(orcStrength, giantStrength); }
public override void SetPotionProperties() { // Duration 25 + 0 per 1 levels, Magnitude 20-20 + 0-0 per 1 levels EffectSettings scholarWitSettings = SetEffectDuration(DefaultEffectSettings(), 25, 0, 1); scholarWitSettings = SetEffectMagnitude(scholarWitSettings, 20, 20, 0, 0, 1); PotionRecipe scholarWit = new PotionRecipe( "Scholar's Wit", 49, 0, 50, scholarWitSettings, (int)Items.SolventIngredients.Rain_water, (int)Items.FlowerPlantIngredients.Black_rose, (int)Items.MiscPlantIngredients.Ginkgo_leaves, (int)Items.MiscPlantIngredients.Pine_branch, (int)Items.AnimalPartIngredients.Pearl, (int)Items.CreatureIngredients.Harpy_Feather, (int)Items.MetalIngredients.Tin); // Duration 30 + 0 per 1 levels, Magnitude 45-45 + 0-0 per 1 levels EffectSettings julianosWisdomSettings = SetEffectDuration(DefaultEffectSettings(), 30, 0, 1); julianosWisdomSettings = SetEffectMagnitude(julianosWisdomSettings, 45, 45, 0, 0, 1); PotionRecipe julianosWisdom = new PotionRecipe( "Julianos' Wisdom", 175, 0, 90, julianosWisdomSettings, (int)Items.SolventIngredients.Pure_water, (int)Items.FlowerPlantIngredients.Black_poppy, (int)Items.MiscPlantIngredients.Green_leaves, (int)Items.CreatureIngredients.Lich_dust, (int)Items.CreatureIngredients.Basilisk_eye); // Assign recipe scholarWit.TextureRecord = 34; julianosWisdom.TextureRecord = 7; AssignPotionRecipes(scholarWit, julianosWisdom); }
public override void SetPotionProperties() { // Duration 20 + 0 per 1 levels EffectSettings trueChameleonFormSettings = SetEffectDuration(DefaultEffectSettings(), 20, 0, 1); PotionRecipe trueChameleonForm = new PotionRecipe( "True Chameleon Form", 56, 0, 75, trueChameleonFormSettings, (int)Items.SolventIngredients.Nectar, (int)Items.FruitPlantIngredients.Red_berries, (int)Items.MiscPlantIngredients.Pine_branch, (int)Items.MiscPlantIngredients.Twigs, (int)Items.CreatureIngredients.Nymph_hair, (int)Items.MetalIngredients.Brass, (int)Items.MetalIngredients.Mercury); trueChameleonForm.TextureRecord = 33; AssignPotionRecipes(trueChameleonForm); }