diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 84e0fe0465..0cced6c4a0 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -465,7 +465,6 @@ namespace CalamityMod.CalPlayer public bool dAmulet = false; public bool fCarapace = false; public bool gShell = false; - public bool seaShell = false; public bool absorber = false; public bool aAmpoule = false; public bool sponge = false; @@ -1640,7 +1639,6 @@ namespace CalamityMod.CalPlayer dAmulet = false; fCarapace = false; gShell = false; - seaShell = false; absorber = false; aAmpoule = false; sponge = false; diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 5f83880e17..55e2316cbf 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -1405,18 +1405,6 @@ namespace CalamityMod.CalPlayer Player.manaRegenBonus += 4; } - // Sea Shell bonus - if (seaShell) - { - if (Player.IsUnderwater()) - { - Player.statDefense += 3; - Player.endurance += 0.05f; - Player.moveSpeed += 0.1f; - Player.ignoreWater = true; - } - } - // Affliction bonus if (affliction || afflicted) { diff --git a/Items/Accessories/SeaShell.cs b/Items/Accessories/SeaShell.cs deleted file mode 100644 index e7b558ff0c..0000000000 --- a/Items/Accessories/SeaShell.cs +++ /dev/null @@ -1,34 +0,0 @@ -using CalamityMod.CalPlayer; -using Terraria; -using Terraria.ModLoader; -using Terraria.ID; - -namespace CalamityMod.Items.Accessories -{ - public class SeaShell : ModItem - { - public override void SetStaticDefaults() - { - SacrificeTotal = 1; - DisplayName.SetDefault("Sea Shell"); - Tooltip.SetDefault("Increased defense and damage reduction when submerged in liquid\n" + - "Increased movement speed when submerged in liquid"); - } - - public override void SetDefaults() - { - Item.defense = 3; - Item.width = 20; - Item.height = 24; - Item.value = CalamityGlobalItem.Rarity2BuyPrice; - Item.rare = ItemRarityID.Green; - Item.accessory = true; - } - - public override void UpdateAccessory(Player player, bool hideVisual) - { - CalamityPlayer modPlayer = player.Calamity(); - modPlayer.seaShell = true; - } - } -} diff --git a/Items/Accessories/SeaShell.png b/Items/Accessories/SeaShell.png deleted file mode 100644 index 21fa8d2113..0000000000 Binary files a/Items/Accessories/SeaShell.png and /dev/null differ diff --git a/Items/Accessories/TheAbsorber.cs b/Items/Accessories/TheAbsorber.cs index 43b94cd9a6..a0b0cd5e0d 100644 --- a/Items/Accessories/TheAbsorber.cs +++ b/Items/Accessories/TheAbsorber.cs @@ -17,7 +17,6 @@ namespace CalamityMod.Items.Accessories Tooltip.SetDefault("5% increased movement and jump speed\n" + "+20 max life and mana\n" + "Standing still boosts life and mana regen\n" + - "Increased defense, movement speed and damage reduction while submerged in liquid\n" + "Enemies take damage when they touch you\n" + "You emit a cloud of mushroom spores when you are hit\n" + "7% increased damage reduction\n" + @@ -41,7 +40,6 @@ namespace CalamityMod.Items.Accessories // Removed Giant Shell speed boost from The Absorber // modPlayer.gShell = true; modPlayer.fCarapace = true; - modPlayer.seaShell = true; modPlayer.absorber = true; player.statManaMax2 += 20; player.buffImmune[ModContent.BuffType()] = true; @@ -51,7 +49,6 @@ namespace CalamityMod.Items.Accessories { CreateRecipe(). AddIngredient(). - AddIngredient(). AddIngredient(). AddIngredient(). AddIngredient(). @@ -65,7 +62,6 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). - AddIngredient(). AddIngredient(). AddIngredient(). AddIngredient(). diff --git a/Items/Accessories/TheSponge.cs b/Items/Accessories/TheSponge.cs index c800972d9a..9f5953d439 100644 --- a/Items/Accessories/TheSponge.cs +++ b/Items/Accessories/TheSponge.cs @@ -24,7 +24,6 @@ namespace CalamityMod.Items.Accessories "+30 max life and mana\n" + "5% increased movement and jump speed\n" + "Standing still boosts life and mana regen\n" + - "Increased defense, movement speed and damage reduction while submerged in liquid\n" + "Enemies take damage when they touch you\n" + "You emit a cloud of mushroom spores when you are hit\n" + "6.25% of the damage from enemy attacks is absorbed and converted into healing\n" + @@ -48,7 +47,6 @@ namespace CalamityMod.Items.Accessories // Removed Giant Shell speed boost from Sponge // modPlayer.gShell = true; modPlayer.fCarapace = true; - modPlayer.seaShell = true; modPlayer.absorber = true; modPlayer.sponge = true; player.statManaMax2 += 30; diff --git a/Items/Weapons/Typeless/MarkedMagnum.cs b/Items/Weapons/Typeless/MarkedMagnum.cs deleted file mode 100644 index 9aa6daa32b..0000000000 --- a/Items/Weapons/Typeless/MarkedMagnum.cs +++ /dev/null @@ -1,60 +0,0 @@ -using CalamityMod.Projectiles.Typeless; -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.DataStructures; -using Terraria.ID; -using Terraria.ModLoader; - -namespace CalamityMod.Items.Weapons.Typeless -{ - public class MarkedMagnum : ModItem - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Marked Magnum"); - Tooltip.SetDefault("Shots reduce enemy protection\n" + - "This weapon scales with all your damage stats at once"); - SacrificeTotal = 1; - } - - public override void SetDefaults() - { - Item.DamageType = AverageDamageClass.Instance; - Item.damage = 4; - Item.width = 54; - Item.height = 20; - Item.useTime = 15; - Item.useAnimation = 15; - Item.useStyle = ItemUseStyleID.Shoot; - Item.noMelee = true; - Item.knockBack = 3f; - Item.value = Item.buyPrice(0, 2, 0, 0); - Item.rare = ItemRarityID.Green; - Item.UseSound = SoundID.Item33; - Item.autoReuse = false; - Item.shootSpeed = 12f; - Item.shoot = ModContent.ProjectileType(); - } - - public override Vector2? HoldoutOffset() - { - return new Vector2(-5, 0); - } - - public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) - { - Projectile.NewProjectile(source, position, velocity, type, damage, knockback, player.whoAmI, 0f, 0f); - return false; - } - - public override void AddRecipes() - { - CreateRecipe(). - AddIngredient(ItemID.HellstoneBar, 7). - AddIngredient(ItemID.Obsidian, 15). - AddIngredient(ItemID.GlowingMushroom, 15). - AddTile(TileID.Anvils). - Register(); - } - } -} diff --git a/Items/Weapons/Typeless/MarkedMagnum.png b/Items/Weapons/Typeless/MarkedMagnum.png deleted file mode 100644 index 9b22e7e3d7..0000000000 Binary files a/Items/Weapons/Typeless/MarkedMagnum.png and /dev/null differ diff --git a/Projectiles/Typeless/MarkRound.cs b/Projectiles/Typeless/MarkRound.cs deleted file mode 100644 index 83bdff1226..0000000000 --- a/Projectiles/Typeless/MarkRound.cs +++ /dev/null @@ -1,83 +0,0 @@ -using CalamityMod.Buffs.StatDebuffs; -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.ModLoader; -namespace CalamityMod.Projectiles.Typeless -{ - public class MarkRound : ModProjectile - { - public override string Texture => "CalamityMod/Projectiles/LaserProj"; - - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Laser"); - } - - public override void SetDefaults() - { - Projectile.width = 5; - Projectile.height = 5; - Projectile.friendly = true; - Projectile.alpha = 255; - Projectile.penetrate = 1; - Projectile.extraUpdates = 2; - Projectile.timeLeft = 300; - } - - public override void AI() - { - if (Projectile.alpha > 0) - { - Projectile.alpha -= 25; - } - if (Projectile.alpha < 0) - { - Projectile.alpha = 0; - } - Lighting.AddLight((int)Projectile.Center.X / 16, (int)Projectile.Center.Y / 16, 0.5f, 0f, 0.7f); - float num55 = 30f; - float num56 = 2f; - if (Projectile.ai[1] == 0f) - { - Projectile.localAI[0] += num56; - if (Projectile.localAI[0] > num55) - { - Projectile.localAI[0] = num55; - } - } - else - { - Projectile.localAI[0] -= num56; - if (Projectile.localAI[0] <= 0f) - { - Projectile.Kill(); - } - } - } - - public override Color? GetAlpha(Color lightColor) => new Color(200, 0, 250, 0); - - public override bool PreDraw(ref Color lightColor) => Projectile.DrawBeam(30f, 2f, lightColor); - - public override void Kill(int timeLeft) - { - int dustAmt = Main.rand.Next(3, 7); - for (int d = 0; d < dustAmt; d++) - { - int purple = Dust.NewDust(Projectile.Center - Projectile.velocity / 2f, 0, 0, 173, 0f, 0f, 100, default, 2.1f); - Main.dust[purple].velocity *= 2f; - Main.dust[purple].noGravity = true; - } - } - - public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) - { - target.AddBuff(ModContent.BuffType(), 480); - } - - public override void OnHitPvp(Player target, int damage, bool crit) - { - target.AddBuff(ModContent.BuffType(), 480); - } - } -}