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

33 lines
890 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 PearlwoodAxe : DecimationTool
{
protected override string ItemName => "Pearlwood Axe";
protected override int AxePower => 45;
protected override int MeleeDamages => 8;
protected override void InitTool()
{
item.width = 32;
item.height = 28;
item.knockBack = 4.5f;
item.value = Item.sellPrice(copper: 10);
item.useTime = 16;
item.useAnimation = 25;
item.crit = 4;
}
protected override ModRecipe GetRecipe()
{
return new RecipeBuilder(this)
.WithIngredient(ItemID.Pearlwood, 7)
.Build();
}
}
}