33 lines
884 B
C#
33 lines
884 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 PumpkinAxe : DecimationTool
|
|
{
|
|
protected override string ItemName => "Pumpkin Axe";
|
|
protected override int AxePower => 35;
|
|
protected override int MeleeDamages => 5;
|
|
|
|
protected override void InitTool()
|
|
{
|
|
item.width = 40;
|
|
item.height = 32;
|
|
item.knockBack = 4.5f;
|
|
item.value = Item.sellPrice(silver: 4);
|
|
item.useTime = 23;
|
|
item.useAnimation = 32;
|
|
item.crit = 4;
|
|
}
|
|
|
|
protected override ModRecipe GetRecipe()
|
|
{
|
|
return new RecipeBuilder(this)
|
|
.WithIngredient(ItemID.Pumpkin, 15)
|
|
.Build();
|
|
}
|
|
}
|
|
} |