diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 2e8042968e..fbe7b6e7b8 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -3004,7 +3004,7 @@ namespace CalamityMod.CalPlayer if (modPlayer.pFlames) { - player.blind = !modPlayer.alchFlask; + player.blind = !modPlayer.reducedPlagueDmg; player.statDefense -= Plague.DefenseReduction; player.moveSpeed -= 0.15f; } diff --git a/Items/Accessories/AlchemicalFlask.cs b/Items/Accessories/AlchemicalFlask.cs index 2623c01dc2..2021cc3987 100644 --- a/Items/Accessories/AlchemicalFlask.cs +++ b/Items/Accessories/AlchemicalFlask.cs @@ -11,9 +11,7 @@ namespace CalamityMod.Items.Accessories public override void SetStaticDefaults() { DisplayName.SetDefault("Alchemical Flask"); - Tooltip.SetDefault("All attacks inflict the plague\n" + - "Reduces the damage caused to you by the plague\n" + - "Removes the blindness effect caused by the plague\n" + + Tooltip.SetDefault("All attacks inflict the Plague debuff\n" + "Projectiles spawn plague seekers on enemy hits"); } @@ -30,14 +28,13 @@ namespace CalamityMod.Items.Accessories { CalamityPlayer modPlayer = player.Calamity(); modPlayer.alchFlask = true; - modPlayer.reducedPlagueDmg = true; } public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); recipe.AddIngredient(ItemID.BottledWater); - recipe.AddIngredient(ItemID.Bezoar); + recipe.AddIngredient(ItemID.BeeWax, 5); recipe.AddIngredient(ModContent.ItemType(), 10); recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); diff --git a/Items/Accessories/PlagueHive.cs b/Items/Accessories/PlagueHive.cs index 2d750bbf8b..c728de6a65 100644 --- a/Items/Accessories/PlagueHive.cs +++ b/Items/Accessories/PlagueHive.cs @@ -13,12 +13,10 @@ namespace CalamityMod.Items.Accessories public override void SetStaticDefaults() { DisplayName.SetDefault("Plague Hive"); - Tooltip.SetDefault("The power of your bees and wasps will rival the Moon Lord himself\n" + - "Summons a damaging plague aura around the player to destroy nearby enemies\n" + - "Releases bees when damaged\n" + - "All of your attacks inflict the plague\n" + - "Reduces the damage caused to you by the plague\n" + - "Projectiles spawn plague seekers on enemy hits"); + Tooltip.SetDefault("The power of bees and wasps will rival the Moon Lord himself\n" + + "All attacks inflict the Plague debuff\n" + + "Releases bees when damaged that inflict the Plague\n" + + "Projectiles spawn plague seekers on enemy hits"); } public override void SetDefaults() @@ -26,7 +24,6 @@ namespace CalamityMod.Items.Accessories item.width = 42; item.height = 48; item.value = CalamityGlobalItem.Rarity9BuyPrice; - item.expert = true; item.rare = ItemRarityID.Cyan; item.accessory = true; } @@ -34,9 +31,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ItemID.HiveBackpack); recipe.AddIngredient(ItemID.HoneyComb); recipe.AddTile(TileID.LunarCraftingStation); recipe.SetResult(this); @@ -48,44 +43,7 @@ namespace CalamityMod.Items.Accessories CalamityPlayer modPlayer = player.Calamity(); player.bee = true; modPlayer.uberBees = true; - player.strongBees = true; modPlayer.alchFlask = true; - modPlayer.reducedPlagueDmg = true; - int plagueCounter = 0; - Lighting.AddLight((int)(player.Center.X / 16f), (int)(player.Center.Y / 16f), 0.1f, 2f, 0.2f); - int num = ModContent.BuffType(); - float num2 = 300f; - bool flag = plagueCounter % 60 == 0; - int num3 = (int)(60 * player.AverageDamage()); - int random = Main.rand.Next(10); - if (player.whoAmI == Main.myPlayer) - { - if (random == 0) - { - for (int l = 0; l < 200; l++) - { - NPC nPC = Main.npc[l]; - if (nPC.active && !nPC.friendly && nPC.damage > 0 && !nPC.dontTakeDamage && !nPC.buffImmune[num] && Vector2.Distance(player.Center, nPC.Center) <= num2) - { - if (nPC.FindBuffIndex(num) == -1) - { - nPC.AddBuff(num, 120, false); - } - if (flag) - { - if (player.whoAmI == Main.myPlayer) - { - Projectile p = Projectile.NewProjectileDirect(nPC.Center, Vector2.Zero, ModContent.ProjectileType(), num3, 0f, player.whoAmI, l); - } - } - } - } - } - } - plagueCounter++; - if (plagueCounter >= 180) - { - } } } } diff --git a/Items/Accessories/ToxicHeart.cs b/Items/Accessories/ToxicHeart.cs index 97f11834ab..88c34164b9 100644 --- a/Items/Accessories/ToxicHeart.cs +++ b/Items/Accessories/ToxicHeart.cs @@ -1,5 +1,6 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Projectiles.Typeless; +using CalamityMod.CalPlayer; using Microsoft.Xna.Framework; using Terraria; using Terraria.ModLoader; @@ -12,7 +13,8 @@ namespace CalamityMod.Items.Accessories public override void SetStaticDefaults() { DisplayName.SetDefault("Toxic Heart"); - Tooltip.SetDefault("Summons a damaging plague aura around the player to destroy nearby enemies"); + Tooltip.SetDefault("Summons a plague aura around you that damages nearby enemies\n" + + "Reduces the damage caused by the Plague debuff and removes its blindness effect"); } public override void SetDefaults() @@ -27,12 +29,14 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { + CalamityPlayer modPlayer = player.Calamity(); + modPlayer.reducedPlagueDmg = true; int plagueCounter = 0; Lighting.AddLight((int)(player.Center.X / 16f), (int)(player.Center.Y / 16f), 0.05f, 1f, 0.1f); int num = ModContent.BuffType(); float num2 = 300f; bool flag = plagueCounter % 60 == 0; - int num3 = (int)(30 * player.AverageDamage()); + int num3 = (int)(50 * player.AverageDamage()); int random = Main.rand.Next(10); if (player.whoAmI == Main.myPlayer) { diff --git a/Items/Weapons/Magic/TheSwarmer.cs b/Items/Weapons/Magic/TheSwarmer.cs index d8eadef0d8..2b66155190 100644 --- a/Items/Weapons/Magic/TheSwarmer.cs +++ b/Items/Weapons/Magic/TheSwarmer.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Magic public override void SetDefaults() { - item.damage = 30; + item.damage = 44; item.magic = true; item.mana = 7; item.width = 60; diff --git a/Items/Weapons/Melee/PlagueKeeper.cs b/Items/Weapons/Melee/PlagueKeeper.cs index 068124e44a..0a04f5f440 100644 --- a/Items/Weapons/Melee/PlagueKeeper.cs +++ b/Items/Weapons/Melee/PlagueKeeper.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void SetDefaults() { item.width = 74; - item.damage = 75; + item.damage = 80; item.melee = true; item.useAnimation = 20; item.useStyle = ItemUseStyleID.SwingThrow; diff --git a/Items/Weapons/Rogue/Plaguenade.cs b/Items/Weapons/Rogue/Plaguenade.cs index 50100950cf..a61e384869 100644 --- a/Items/Weapons/Rogue/Plaguenade.cs +++ b/Items/Weapons/Rogue/Plaguenade.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void SafeSetDefaults() { item.width = 20; - item.damage = 60; + item.damage = 63; item.noMelee = true; item.noUseGraphic = true; item.consumable = true;