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

◆ RollDragonflyType()

static int Terraria.NPC.RollDragonflyType ( int tileType = 2)
inlinestaticprivate

Definition at line 85965 of file NPC.cs.

85966 {
85967 if (tileType == 53)
85968 {
85969 return Main.rand.NextFromList(new short[3] { 595, 598, 600 });
85970 }
85971 return Main.rand.NextFromList(new short[3] { 596, 597, 599 });
85972 }

References Terraria.Main.rand.