vanilla debuff effects now affect predrawn enemies

This commit is contained in:
Altixal committed 2023-03-01 00:08:32 +07:00
1 parent e16f6b9ec1
commit dc4bebfce0
1 file changed
+4
+4
View File
@@ -5538,6 +5538,10 @@ namespace CalamityMod.NPCs
}
}
// Vanilla debuff coloring effects + Hunter Potion. This allows GetAlpha (often used in PreDraw) to get vanilla debuff colors
drawColor = npc.GetNPCColorTintedByBuffs(drawColor);
// Calamity debuff coloring effects
if (gState > 0 || eFreeze > 0)
drawColor = Color.Cyan;