diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index e668943ac3..68509f8672 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -1416,17 +1416,17 @@ namespace CalamityMod.CalPlayer { Player.AddBuff(ModContent.BuffType(), 300); } - else if (proj.type == ProjectileID.FairyQueenLance || proj.type == ProjectileID.HallowBossRainbowStreak || proj.type == ProjectileID.HallowBossSplitShotCore) + else if ((proj.type == ProjectileID.FairyQueenLance || proj.type == ProjectileID.HallowBossRainbowStreak || proj.type == ProjectileID.HallowBossSplitShotCore) && NPC.ShouldEmpressBeEnraged()) { - Player.AddBuff(NPC.ShouldEmpressBeEnraged() ? ModContent.BuffType() : ModContent.BuffType(), 60); + Player.AddBuff(ModContent.BuffType(), 60); } - else if (proj.type == ProjectileID.HallowBossLastingRainbow) + else if (proj.type == ProjectileID.HallowBossLastingRainbow && NPC.ShouldEmpressBeEnraged()) { - Player.AddBuff(NPC.ShouldEmpressBeEnraged() ? ModContent.BuffType() : ModContent.BuffType(), 120); + Player.AddBuff(ModContent.BuffType(), 120); } - else if (proj.type == ProjectileID.FairyQueenSunDance) + else if (proj.type == ProjectileID.FairyQueenSunDance && NPC.ShouldEmpressBeEnraged()) { - Player.AddBuff(NPC.ShouldEmpressBeEnraged() ? ModContent.BuffType() : ModContent.BuffType(), 180); + Player.AddBuff(ModContent.BuffType(), 180); } else if (proj.type == ProjectileID.BloodNautilusShot) { diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 7c2ece63b8..0ca75901f0 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -5484,7 +5484,8 @@ namespace CalamityMod.NPCs break; case NPCID.HallowBoss: - target.AddBuff(NPC.ShouldEmpressBeEnraged() ? BuffType() : BuffType(), 240); + if (NPC.ShouldEmpressBeEnraged()) + target.AddBuff(BuffType(), 240); break; case NPCID.BloodNautilus: