vanilla debuff effects now affect predrawn enemies
This commit is contained in:
1 parent
e16f6b9ec1
commit
dc4bebfce0
1 file changed
+4
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user