Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetShimmerColor()

Color Terraria.NPC.GetShimmerColor ( Color newColor)
inline

Definition at line 90353 of file NPC.cs.

90354 {
90356 {
90357 newColor.R = (byte)((float)(int)newColor.R * (1f - shimmerTransparency));
90358 newColor.G = (byte)((float)(int)newColor.G * (1f - shimmerTransparency));
90359 newColor.B = (byte)((float)(int)newColor.B * (1f - shimmerTransparency));
90360 newColor.A = (byte)((float)(int)newColor.A * (1f - shimmerTransparency));
90361 }
90362 return newColor;
90363 }
bool CanApplyHunterPotionEffects()
Definition NPC.cs:87774
float shimmerTransparency
Definition NPC.cs:207