Added Staff of Shifting Sands recipe and value.

This commit is contained in:
FyloZ 2020-06-30 14:53:13 -04:00
parent 4f10fb0226
commit 175b91bdbb

View File

@ -1,6 +1,11 @@
using System.Collections.Generic;
using Decimation.Content.Items.Misc.Souls;
using Decimation.Content.Projectiles.DuneWyrm; using Decimation.Content.Projectiles.DuneWyrm;
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.ID;
using Terraria.ModLoader; using Terraria.ModLoader;
namespace Decimation.Content.Items.Weapons.DuneWyrm namespace Decimation.Content.Items.Weapons.DuneWyrm
@ -17,6 +22,30 @@ namespace Decimation.Content.Items.Weapons.DuneWyrm
item.width = 42; item.width = 42;
item.height = 42; item.height = 42;
item.rare = Rarity.LightRed.GetRarityValue(); item.rare = Rarity.LightRed.GetRarityValue();
item.value = Item.buyPrice(gold: 2);
}
protected override List<ModRecipe> GetRecipes()
{
return new List<ModRecipe>
{
new RecipeBuilder(this)
.AnyIronBar(true)
.WithIngredient(ItemID.AncientBattleArmorMaterial)
.WithIngredient(ModContent.ItemType<SoulofTime>(), 10)
.WithIngredient(ItemID.ImpStaff)
.WithIngredient(ItemID.GoldBar, 5)
.WithStation(TileID.MythrilAnvil)
.Build(),
new RecipeBuilder(this)
.AnyIronBar(true)
.WithIngredient(ItemID.AncientBattleArmorMaterial)
.WithIngredient(ModContent.ItemType<SoulofTime>(), 10)
.WithIngredient(ItemID.ImpStaff)
.WithIngredient(ItemID.PlatinumBar, 5)
.WithStation(TileID.MythrilAnvil)
.Build()
};
} }
} }
} }