diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index 6350d1e357..8a79997017 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -159,13 +159,6 @@ namespace CalamityMod.NPCs.Yharon bool revenge = CalamityWorld.revenge || malice; bool death = CalamityWorld.death || malice; - if (revenge) - { - // Increase aggression if player is taking a long time to kill the boss - if (lifeRatio > calamityGlobalNPC.killTimeRatio_IncreasedAggression) - lifeRatio = calamityGlobalNPC.killTimeRatio_IncreasedAggression; - } - float pie = (float)Math.PI; Vector2 vectorCenter = npc.Center; @@ -2946,13 +2939,6 @@ namespace CalamityMod.NPCs.Yharon // Percent life remaining float lifeRatio = npc.life / (float)npc.lifeMax; - if (CalamityWorld.revenge || CalamityWorld.malice || BossRushEvent.BossRushActive) - { - // Increase aggression if player is taking a long time to kill the boss - if (lifeRatio > npc.Calamity().killTimeRatio_IncreasedAggression) - lifeRatio = npc.Calamity().killTimeRatio_IncreasedAggression; - } - bool doTelegraphFlightAnimation = npc.localAI[1] < fastChargeTelegraphTime * 0.5f || npc.localAI[1] > fastChargeTelegraphTime - (fastChargeTelegraphTime / 6f); bool doTelegraphRoarAnimation = npc.localAI[1] > fastChargeTelegraphTime - fastChargeTelegraphTime * 0.4f && npc.localAI[1] < fastChargeTelegraphTime - fastChargeTelegraphTime * 0.2f; bool phase4 = startSecondAI && lifeRatio <= ((CalamityWorld.death || BossRushEvent.BossRushActive || CalamityWorld.malice) ? 0.165f : 0.11f) && (CalamityWorld.revenge || BossRushEvent.BossRushActive || CalamityWorld.malice);