using Decimation.Content.NPCs.DuneWyrm.AncientTombCrawler; using Decimation.Lib.Items; using Decimation.Lib.Util; using Terraria; using Terraria.ModLoader; namespace Decimation.Content.Items.Weapons.DuneWyrm { public class StaffofShiftingSands : DecimationWeapon { protected override string ItemName => "Staff of Shifting Sands"; protected override int Damages => 30; protected override DamageType DamagesType => DamageType.Summon; protected override void InitWeapon() { item.width = 42; item.height = 42; item.rare = Rarity.LightRed.GetRarityValue(); } public override bool UseItem(Player player) { NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); return true; } } }