Decimation_Mod/Content/Items/Tools/Axes/BorealWoodAxe.cs
2020-07-19 19:05:58 -04:00

33 lines
894 B
C#

using Decimation.Lib.Items;
using Decimation.Lib.Util.Builder;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Decimation.Content.Items.Tools.Axes
{
public class BorealWoodAxe : DecimationTool
{
protected override string ItemName => "Boreal Wood Axe";
protected override int AxePower => 35;
protected override int MeleeDamages => 3;
protected override void InitTool()
{
item.width = 32;
item.height = 28;
item.knockBack = 4.5f;
item.value = Item.sellPrice(copper: 10);
item.useTime = 19;
item.useAnimation = 28;
item.crit = 4;
}
protected override ModRecipe GetRecipe()
{
return new RecipeBuilder(this)
.WithIngredient(ItemID.BorealWood, 7)
.Build();
}
}
}