Updated Greatwood Sword.

This commit is contained in:
FyloZ 2020-07-09 19:30:05 -04:00
parent 3626b5fa07
commit 266a82b74a
3 changed files with 13 additions and 13 deletions

View File

@ -1,12 +1,13 @@
using Decimation.Lib.Items;
using Decimation.Lib.Util;
using Decimation.Lib.Util.Builder;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Decimation.Content.Items.Weapons
{
internal class TheGreatwoodSword : DecimationWeapon
internal class GreatwoodSword : DecimationWeapon
{
protected override string ItemName => "The Greatwood Sword";
protected override string ItemTooltip => "Who needs metal?";
@ -14,27 +15,26 @@ namespace Decimation.Content.Items.Weapons
protected override void InitWeapon()
{
item.width = 44;
item.height = 44;
item.width = 48;
item.height = 48;
item.useTime = 25;
item.useAnimation = 25;
item.knockBack = 5;
this.item.value = Item.sellPrice(silver: 40);
item.value = Item.sellPrice(silver: 80);
item.rare = Rarity.Green.GetRarityValue();
item.autoReuse = true;
this.item.expert = false;
item.expert = false;
}
protected override ModRecipe GetRecipe()
{
ModRecipe recipe = GetNewModRecipe(this, 1, TileID.Anvils, true);
recipe.AddIngredient(ItemID.WoodenSword);
recipe.AddIngredient(ItemID.BorealWoodSword);
recipe.AddIngredient(ItemID.ShadewoodSword);
recipe.AddIngredient(ItemID.PalmWoodSword);
return recipe;
return new RecipeBuilder(this)
.WithIngredient(ItemID.WoodenSword)
.WithIngredient(ItemID.BorealWoodSword)
.WithIngredient(ItemID.ShadewoodSword)
.WithIngredient(ItemID.PalmWoodSword)
.WithStation(TileID.WorkBenches)
.Build();
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 B