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

◆ GetFloatingDaggerMinionGlowColor()

Color Terraria.Projectile.GetFloatingDaggerMinionGlowColor ( )
inline

Definition at line 91713 of file Projectile.cs.

91714 {
91715 //IL_002c: Unknown result type (might be due to invalid IL or missing references)
91716 //IL_0036: Unknown result type (might be due to invalid IL or missing references)
91717 float num = (float)(whoAmI % 6) / 6f;
91718 return Main.hslToRgb(0.66f + 0.33f * num, 0.7f, 0.6f) * 0.7f;
91719 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Definition Entity.cs:16

References Terraria.Main.hslToRgb().

+ Here is the call graph for this function: