using System.Collections.Generic; using Decimation.Content.Items.Misc.Souls; using Decimation.Content.Projectiles.Boss.DuneWyrm; 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.DuneWyrm { public class StaffofShiftingSands : DecimationWeapon { protected override string ItemName => "Staff of Shifting Sands"; protected override string ItemTooltip => "Its... kinda cute...i guess..?"; protected override int Damages => 30; protected override DamageType DamagesType => DamageType.Summon; protected override int ProjectileId => ModContent.ProjectileType(); protected override void InitWeapon() { item.width = 42; item.height = 42; item.rare = Rarity.LightRed.GetRarityValue(); item.value = Item.sellPrice(gold: 2); } protected override List GetRecipes() { return new List { new RecipeBuilder(this) .AnyIronBar(true) .WithIngredient(ItemID.AncientBattleArmorMaterial) .WithIngredient(ModContent.ItemType(), 10) .WithIngredient(ItemID.ImpStaff) .WithIngredient(ItemID.GoldBar, 5) .WithStation(TileID.MythrilAnvil) .Build(), new RecipeBuilder(this) .AnyIronBar(true) .WithIngredient(ItemID.AncientBattleArmorMaterial) .WithIngredient(ModContent.ItemType(), 10) .WithIngredient(ItemID.ImpStaff) .WithIngredient(ItemID.PlatinumBar, 5) .WithStation(TileID.MythrilAnvil) .Build() }; } } }