Updated Multigrain Sword.

This commit is contained in:
FyloZ 2020-07-09 19:34:11 -04:00
parent 266a82b74a
commit 3852419581
2 changed files with 14 additions and 13 deletions

View File

@ -1,5 +1,7 @@
using Decimation.Content.Projectiles;
using Decimation.Lib.Items;
using Decimation.Lib.Util;
using Decimation.Lib.Util.Builder;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@ -11,16 +13,16 @@ namespace Decimation.Content.Items.Weapons
protected override string ItemName => "Multigrain Sword";
protected override string ItemTooltip => "Smells like honeysuckle";
protected override int Damages => 30;
protected override string ProjectileName => "Stinger";
protected override int ProjectileId => ModContent.ProjectileType<Stinger>();
protected override void InitWeapon()
{
item.width = 36;
item.height = 37;
item.width = 58;
item.height = 58;
item.useTime = 26;
item.useAnimation = 26;
item.knockBack = 5;
item.value = Item.sellPrice(0, 0, 40);
item.value = Item.sellPrice(silver: 88);
item.rare = Rarity.Green.GetRarityValue();
item.crit = 4;
item.autoReuse = true;
@ -30,15 +32,14 @@ namespace Decimation.Content.Items.Weapons
protected override ModRecipe GetRecipe()
{
ModRecipe recipe = GetNewModRecipe(this, 1, TileID.Anvils, true);
recipe.AddIngredient(ItemID.CactusSword);
recipe.AddIngredient(ItemID.Pumpkin, 15);
recipe.AddIngredient(ItemID.Acorn, 5);
recipe.AddIngredient(ItemID.Hay, 15);
recipe.AddIngredient(ModContent.ItemType<TheGreatwoodSword>());
return recipe;
return new RecipeBuilder(this)
.WithIngredient(ItemID.CactusSword)
.WithIngredient(ItemID.Pumpkin, 15)
.WithIngredient(ItemID.Acorn, 5)
.WithIngredient(ItemID.Hay, 15)
.WithIngredient(ModContent.ItemType<GreatwoodSword>())
.WithStation(TileID.Loom)
.Build();
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 B

After

Width:  |  Height:  |  Size: 864 B