using Terraria; using Terraria.ID; using Terraria.ModLoader; using static Terraria.ModLoader.ModContent; using CalamityMod.Projectiles.Typeless; namespace CalamityMod.Items.Tools { public class BobbitHook : ModItem { public override void SetStaticDefaults() { DisplayName.SetDefault("Bobbit Hook"); Tooltip.SetDefault(@"Retracts upon attaching to a tile with extreme speeds Reach: 40 Launch Velocity: 25 Pull Velocity: 28"); } public override void SetDefaults() { // Instead of copying these values, we can clone and modify the ones we want to copy item.CloneDefaults(ItemID.AmethystHook); item.shootSpeed = 25f; // how quickly the hook is shot. item.shoot = ProjectileType(); item.value = Item.buyPrice(1, 40, 0, 0); item.rare = 10; item.Calamity().customRarity = (CalamityRarity)13; item.width = 30; item.height = 32; } } }