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

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 B