From f38879da82ef725fa85afe5f7163b8314de9ccdb Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Wed, 26 Jan 2022 10:57:30 -0600 Subject: [PATCH] 1 - Yharon increased aggression over time removed. --- NPCs/Yharon/Yharon.cs | 14 -------------- 1 file changed, 14 deletions(-) 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);