38 lines
1.2 KiB
C#
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();
|
|
}
|
|
}
|
|
} |