diff --git a/Items/Weapons/Melee/AquaticDissolution.cs b/Items/Weapons/Melee/AquaticDissolution.cs deleted file mode 100644 index fc2178815c..0000000000 --- a/Items/Weapons/Melee/AquaticDissolution.cs +++ /dev/null @@ -1,73 +0,0 @@ -using CalamityMod.Items.Materials; -using CalamityMod.Items.Placeables; -using CalamityMod.Projectiles.Melee; -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.DataStructures; -using Terraria.ID; -using Terraria.ModLoader; - -namespace CalamityMod.Items.Weapons.Melee -{ - public class AquaticDissolution : ModItem - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Aquatic Dissolution"); - Tooltip.SetDefault("Fires whaling spears from the sky that bounce off tiles"); - SacrificeTotal = 1; - } - - public override void SetDefaults() - { - Item.width = 50; - Item.damage = 125; - Item.DamageType = DamageClass.Melee; - Item.useAnimation = 16; - Item.useTime = 16; - Item.useTurn = true; - Item.useStyle = ItemUseStyleID.Swing; - Item.knockBack = 6f; - Item.UseSound = SoundID.Item60; - Item.autoReuse = true; - Item.height = 72; - Item.value = CalamityGlobalItem.Rarity12BuyPrice; - Item.rare = ItemRarityID.Purple; - Item.Calamity().customRarity = CalamityRarity.Turquoise; - Item.shoot = ModContent.ProjectileType(); - Item.shootSpeed = 12f; - } - - public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) - { - position = Main.MouseWorld; - for (int x = 0; x < 3; x++) - { - Projectile.NewProjectile(source, new Vector2(position.X + (float)Main.rand.Next(-30, 31), position.Y - 600f), new Vector2(0f, 8f), type, damage, knockback, Main.myPlayer, 0f, 0f); - } - return false; - } - - public override void MeleeEffects(Player player, Rectangle hitbox) - { - if (Main.rand.NextBool(5)) - { - int num250 = Dust.NewDust(new Vector2((float)hitbox.X, (float)hitbox.Y), hitbox.Width, hitbox.Height, 33, (float)(player.direction * 2), 0f, 150, new Color(Main.DiscoR, Main.DiscoG, Main.DiscoB), 1.3f); - Main.dust[num250].velocity *= 0.2f; - Main.dust[num250].noGravity = true; - } - } - - public override void AddRecipes() - { - CreateRecipe(). - AddIngredient(). - AddIngredient(7). - AddIngredient(2). - AddIngredient(20). - AddIngredient(5). - AddTile(TileID.LunarCraftingStation). - Register(); - } - } -} diff --git a/Items/Weapons/Melee/AquaticDissolution.png b/Items/Weapons/Melee/AquaticDissolution.png deleted file mode 100644 index 595cdd1c79..0000000000 Binary files a/Items/Weapons/Melee/AquaticDissolution.png and /dev/null differ diff --git a/Projectiles/Melee/OceanBeam.cs b/Projectiles/Melee/OceanBeam.cs deleted file mode 100644 index aa53642d28..0000000000 --- a/Projectiles/Melee/OceanBeam.cs +++ /dev/null @@ -1,91 +0,0 @@ -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; -using Terraria.Audio; - -namespace CalamityMod.Projectiles.Melee -{ - public class OceanBeam : ModProjectile - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Spear"); - Main.projFrames[Projectile.type] = 4; - ProjectileID.Sets.TrailCacheLength[Projectile.type] = 4; - ProjectileID.Sets.TrailingMode[Projectile.type] = 0; - } - - public override void SetDefaults() - { - Projectile.width = 14; - Projectile.height = 14; - Projectile.friendly = true; - Projectile.extraUpdates = 2; - Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = 8; - Projectile.penetrate = 3; - Projectile.timeLeft = 600; - Projectile.DamageType = DamageClass.Melee; - Projectile.tileCollide = false; - } - - public override void AI() - { - Projectile.frameCounter++; - if (Projectile.frameCounter > 24) - { - Projectile.frame++; - Projectile.frameCounter = 0; - } - if (Projectile.frame > 3) - { - Projectile.frame = 0; - } - - Projectile.rotation = Projectile.velocity.ToRotation(); - - Projectile.ai[1] += 1f; - if (Projectile.ai[1] >= 60f) - Projectile.tileCollide = true; - } - - public override bool PreDraw(ref Color lightColor) - { - CalamityUtils.DrawAfterimagesCentered(Projectile, ProjectileID.Sets.TrailingMode[Projectile.type], lightColor, 1); - return false; - } - - public override bool OnTileCollide(Vector2 oldVelocity) - { - Projectile.penetrate--; - if (Projectile.penetrate <= 0) - { - Projectile.Kill(); - } - else - { - if (Projectile.velocity.X != oldVelocity.X) - { - Projectile.velocity.X = -oldVelocity.X; - } - if (Projectile.velocity.Y != oldVelocity.Y) - { - Projectile.velocity.Y = -oldVelocity.Y; - } - SoundEngine.PlaySound(SoundID.Item10, Projectile.position); - } - return false; - } - - public override void Kill(int timeLeft) - { - SoundEngine.PlaySound(SoundID.Item10, Projectile.position); - for (int k = 0; k < 3; k++) - { - Dust.NewDust(Projectile.position + Projectile.velocity, Projectile.width, Projectile.height, 56, Projectile.oldVelocity.X * 0.25f, Projectile.oldVelocity.Y * 0.25f); - Dust.NewDust(Projectile.position + Projectile.velocity, Projectile.width, Projectile.height, 245, Projectile.oldVelocity.X * 0.25f, Projectile.oldVelocity.Y * 0.25f); - } - } - } -} diff --git a/Projectiles/Melee/OceanBeam.png b/Projectiles/Melee/OceanBeam.png deleted file mode 100644 index 5e9263f98a..0000000000 Binary files a/Projectiles/Melee/OceanBeam.png and /dev/null differ