Updated Multigrain Sword.
This commit is contained in:
parent
266a82b74a
commit
3852419581
@ -1,5 +1,7 @@
|
|||||||
|
using Decimation.Content.Projectiles;
|
||||||
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;
|
||||||
@ -11,16 +13,16 @@ namespace Decimation.Content.Items.Weapons
|
|||||||
protected override string ItemName => "Multigrain Sword";
|
protected override string ItemName => "Multigrain Sword";
|
||||||
protected override string ItemTooltip => "Smells like honeysuckle";
|
protected override string ItemTooltip => "Smells like honeysuckle";
|
||||||
protected override int Damages => 30;
|
protected override int Damages => 30;
|
||||||
protected override string ProjectileName => "Stinger";
|
protected override int ProjectileId => ModContent.ProjectileType<Stinger>();
|
||||||
|
|
||||||
protected override void InitWeapon()
|
protected override void InitWeapon()
|
||||||
{
|
{
|
||||||
item.width = 36;
|
item.width = 58;
|
||||||
item.height = 37;
|
item.height = 58;
|
||||||
item.useTime = 26;
|
item.useTime = 26;
|
||||||
item.useAnimation = 26;
|
item.useAnimation = 26;
|
||||||
item.knockBack = 5;
|
item.knockBack = 5;
|
||||||
item.value = Item.sellPrice(0, 0, 40);
|
item.value = Item.sellPrice(silver: 88);
|
||||||
item.rare = Rarity.Green.GetRarityValue();
|
item.rare = Rarity.Green.GetRarityValue();
|
||||||
item.crit = 4;
|
item.crit = 4;
|
||||||
item.autoReuse = true;
|
item.autoReuse = true;
|
||||||
@ -30,15 +32,14 @@ namespace Decimation.Content.Items.Weapons
|
|||||||
|
|
||||||
protected override ModRecipe GetRecipe()
|
protected override ModRecipe GetRecipe()
|
||||||
{
|
{
|
||||||
ModRecipe recipe = GetNewModRecipe(this, 1, TileID.Anvils, true);
|
return new RecipeBuilder(this)
|
||||||
|
.WithIngredient(ItemID.CactusSword)
|
||||||
recipe.AddIngredient(ItemID.CactusSword);
|
.WithIngredient(ItemID.Pumpkin, 15)
|
||||||
recipe.AddIngredient(ItemID.Pumpkin, 15);
|
.WithIngredient(ItemID.Acorn, 5)
|
||||||
recipe.AddIngredient(ItemID.Acorn, 5);
|
.WithIngredient(ItemID.Hay, 15)
|
||||||
recipe.AddIngredient(ItemID.Hay, 15);
|
.WithIngredient(ModContent.ItemType<GreatwoodSword>())
|
||||||
recipe.AddIngredient(ModContent.ItemType<TheGreatwoodSword>());
|
.WithStation(TileID.Loom)
|
||||||
|
.Build();
|
||||||
return recipe;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 864 B |
Loading…
Reference in New Issue
Block a user