From c9639934dfd54829a78151d0256337a332d145b1 Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Tue, 4 Aug 2020 21:38:34 -0500 Subject: [PATCH] 1 - Yharon no longer deals contact damage during bullet hell spins. --- NPCs/Yharon/Yharon.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index db674d0199..c664427dbe 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -434,6 +434,9 @@ namespace CalamityMod.NPCs.Yharon bool bulletHell = npc.ai[0] == 8f || npc.ai[0] == 15f; npc.Calamity().DR = protectionBoost ? EnragedDR : ((chargeTelegraph || bulletHell) ? ChargeTelegraph_DR : Phase1_DR); + if (bulletHell) + npc.damage = 0; + // Trigger spawn effects if (npc.localAI[0] == 0f) { @@ -1615,7 +1618,10 @@ namespace CalamityMod.NPCs.Yharon bool bulletHell = npc.ai[0] == 5f; npc.Calamity().DR = protectionBoost ? EnragedDR : ((chargeTelegraph || bulletHell) ? ChargeTelegraph_DR : Phase2_DR); - int projectileDamage = expertMode ? 110 : 125; + if (bulletHell) + npc.damage = 0; + + int projectileDamage = expertMode ? 110 : 125; if (secondPhasePhase == 4) projectileDamage = (int)(projectileDamage * 1.1);