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

◆ GetShimmerColor()

Color Terraria.NPC.GetShimmerColor ( Color newColor)
inline

Definition at line 110973 of file NPC.cs.

110974 {
110975 //IL_0089: Unknown result type (might be due to invalid IL or missing references)
110977 {
110978 ((Color)(ref newColor)).R = (byte)((float)(int)((Color)(ref newColor)).R * (1f - shimmerTransparency));
110979 ((Color)(ref newColor)).G = (byte)((float)(int)((Color)(ref newColor)).G * (1f - shimmerTransparency));
110980 ((Color)(ref newColor)).B = (byte)((float)(int)((Color)(ref newColor)).B * (1f - shimmerTransparency));
110981 ((Color)(ref newColor)).A = (byte)((float)(int)((Color)(ref newColor)).A * (1f - shimmerTransparency));
110982 }
110983 return newColor;
110984 }
bool CanApplyHunterPotionEffects()
Definition NPC.cs:107881
float shimmerTransparency
Definition NPC.cs:643