Decimation_Mod/Content/Items/Potions/WarlockPotion.cs
FyloZ 884e67c5e2 Updated some potions's sprite.
Changed buy price to sell price.
2020-07-09 18:03:44 -04:00

38 lines
1.2 KiB
C#

using Decimation.Content.Buffs.Buffs;
using Decimation.Lib.Items;
using Decimation.Lib.Util.Builder;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Decimation.Content.Items.Potions
{
internal class WarlockPotion : DecimationPotion
{
protected override string ItemName => "Warlock Potion";
protected override string ItemTooltip =>
"Increased Mana Regeneration \nIncreased max mana \n10% increased magic damage";
protected override int BuffType => ModContent.BuffType<Warlock>();
protected override int BuffTime => 36000;
protected override void InitPotion()
{
item.width = 20;
item.height = 34;
item.value = Item.sellPrice(gold: 8);
}
protected override ModRecipe GetRecipe()
{
return new RecipeBuilder(this)
.WithIngredient(ItemID.ManaRegenerationPotion)
.WithIngredient(ItemID.ManaCrystal)
.WithIngredient(ItemID.SoulofMight, 10)
.WithIngredient(ItemID.BottledHoney)
.WithStation(TileID.AlchemyTable)
.Build();
}
}
}