diff --git a/Buffs/Potions/Revivify.cs b/Buffs/Potions/Revivify.cs deleted file mode 100644 index ac0f5d1b32..0000000000 --- a/Buffs/Potions/Revivify.cs +++ /dev/null @@ -1,22 +0,0 @@ -using Terraria; -using Terraria.ModLoader; - -namespace CalamityMod.Buffs.Potions -{ - public class Revivify : ModBuff - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Revivify"); - Description.SetDefault("You are healed by a fraction of the damage you take"); - Main.debuff[Type] = false; - Main.pvpBuff[Type] = true; - Main.buffNoSave[Type] = false; - } - - public override void Update(Player player, ref int buffIndex) - { - player.Calamity().revivify = true; - } - } -} diff --git a/Buffs/Potions/Revivify.png b/Buffs/Potions/Revivify.png deleted file mode 100644 index 81f011fe86..0000000000 Binary files a/Buffs/Potions/Revivify.png and /dev/null differ diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index bca5b4e501..4f50ed89bf 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -830,7 +830,6 @@ namespace CalamityMod.CalPlayer public bool shine = false; public bool anechoicCoating = false; public bool enraged = false; - public bool revivify = false; public bool permafrostsConcoction = false; public bool armorCrumbling = false; public bool armorShattering = false; @@ -1884,7 +1883,6 @@ namespace CalamityMod.CalPlayer wither = false; ManaBurn = false; - revivify = false; trinketOfChiBuff = false; corrEffigy = false; crimEffigy = false; @@ -2388,7 +2386,6 @@ namespace CalamityMod.CalPlayer polarisBoostThree = false; bloodfinBoost = false; bloodfinTimer = 0; - revivify = false; healCounter = 300; danceOfLightCharge = 0; bloodPactBoost = false; @@ -6106,13 +6103,6 @@ namespace CalamityMod.CalPlayer CalamityNetcode.NewNPC_ClientSide(spawnPosition, ModContent.NPCType(), Player); } - if (revivify) - { - int healAmt = (int)(damage / 15D); - Player.statLife += healAmt; - Player.HealEffect(healAmt); - } - if (daedalusAbsorb && Main.rand.NextBool(10)) { int healAmt = (int)(damage / 2D); diff --git a/CalPlayer/CalamityPlayerDrawEffects.cs b/CalPlayer/CalamityPlayerDrawEffects.cs index ed25ebc93a..8e8f971ee4 100644 --- a/CalPlayer/CalamityPlayerDrawEffects.cs +++ b/CalPlayer/CalamityPlayerDrawEffects.cs @@ -131,16 +131,6 @@ namespace CalamityMod.CalPlayer _ => heartOriginal, }; TextureAssets.Heart = heartOriginal2; - if (calamityPlayer.revivify) - { - if (Main.rand.NextBool(2) && drawInfo.shadow == 0f) - { - int dust = Dust.NewDust(drawInfo.Position - new Vector2(2f), Player.width + 4, Player.height + 4, 91, Player.velocity.X * 0.2f, Player.velocity.Y * 0.2f, 100, default, 1f); - Main.dust[dust].noGravity = true; - Main.dust[dust].velocity.Y -= 0.5f; - drawInfo.DustCache.Add(dust); - } - } if (calamityPlayer.tRegen) { if (Main.rand.NextBool(10) && drawInfo.shadow == 0f) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 4f5eeca19c..4933c1a9b6 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2557,11 +2557,6 @@ namespace CalamityMod.CalPlayer if (Player.ActiveItem().type != ModContent.ItemType()) planarSpeedBoost = 0; } - if (brimlashBusterBoost) - { - if (Player.ActiveItem().type != ModContent.ItemType()) - brimlashBusterBoost = false; - } if (evilSmasherBoost > 0) { if (Player.ActiveItem().type != ModContent.ItemType()) @@ -2579,11 +2574,6 @@ namespace CalamityMod.CalPlayer else searedPanCounter = 0; } - if (animusBoost > 1f) - { - if (Player.ActiveItem().type != ModContent.ItemType()) - animusBoost = 1f; - } // Flight time boosts double flightTimeMult = 1D + @@ -3498,6 +3488,7 @@ namespace CalamityMod.CalPlayer { for (int l = 0; l < Player.MaxBuffs; l++) { + // TODO -- What the FUCK is this conditional chain? int hasBuff = Player.buffType[l]; if ((hasBuff >= BuffID.ObsidianSkin && hasBuff <= BuffID.Gravitation) || hasBuff == BuffID.Tipsy || hasBuff == BuffID.WellFed || hasBuff == BuffID.Honey || hasBuff == BuffID.WeaponImbueVenom || (hasBuff >= BuffID.WeaponImbueCursedFlames && hasBuff <= BuffID.WeaponImbuePoison) || @@ -3508,7 +3499,7 @@ namespace CalamityMod.CalPlayer hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || - hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || + hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || hasBuff == ModContent.BuffType() || diff --git a/Items/Potions/RevivifyPotion.cs b/Items/Potions/RevivifyPotion.cs deleted file mode 100644 index 5e2cff69ac..0000000000 --- a/Items/Potions/RevivifyPotion.cs +++ /dev/null @@ -1,55 +0,0 @@ -using CalamityMod.Buffs.Potions; -using CalamityMod.Items.Materials; -using CalamityMod.Items.Fishing.SunkenSeaCatches; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; - -namespace CalamityMod.Items.Potions -{ - public class RevivifyPotion : ModItem - { - public override void SetStaticDefaults() - { - SacrificeTotal = 20; - DisplayName.SetDefault("Revivify Potion"); - Tooltip.SetDefault("Causes enemy attacks to heal you for a fraction of their damage"); - } - - public override void SetDefaults() - { - Item.width = 28; - Item.height = 36; - Item.useTurn = true; - Item.maxStack = 30; - Item.rare = ItemRarityID.Orange; - Item.useAnimation = 17; - Item.useTime = 17; - Item.useStyle = ItemUseStyleID.EatFood; - Item.UseSound = SoundID.Item3; - Item.value = Item.buyPrice(0, 2, 0, 0); - Item.rare = ItemRarityID.LightRed; - Item.consumable = true; - Item.buffType = ModContent.BuffType(); - Item.buffTime = CalamityUtils.SecondsToFrames(180f); - } - - public override void AddRecipes() - { - CreateRecipe(5). - AddIngredient(ItemID.HolyWater, 5). - AddIngredient(20). - AddIngredient(ItemID.CrystalShard, 5). - AddIngredient(3). - AddIngredient(). - AddTile(TileID.AlchemyTable). - Register(); - - CreateRecipe(5). - AddIngredient(ItemID.HolyWater, 5). - AddIngredient(100). - AddTile(TileID.AlchemyTable). - Register(); - } - } -} diff --git a/Items/Potions/RevivifyPotion.png b/Items/Potions/RevivifyPotion.png deleted file mode 100644 index a5dd4a9a35..0000000000 Binary files a/Items/Potions/RevivifyPotion.png and /dev/null differ