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

◆ ArmorSetDye()

int Terraria.Player.ArmorSetDye ( )
inline

Definition at line 9255 of file Player.cs.

9256 {
9257 return Main.rand.Next(3) switch
9258 {
9259 0 => cHead,
9260 1 => cBody,
9261 2 => cLegs,
9262 _ => cBody,
9263 };
9264 }

References Terraria.Main.rand.