Definition at line 43664 of file Projectile.cs.
43665 {
43666
43667
43668
43669
43670
43671
43672
43673
43674
43675
43676
43677
43678
43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
43690
43691
43692
43693
43694
43695
43696
43697
43698
43699
43700
43701
43702
43703
43704
43705
43706
43707
43708
43709
43710
43711
43712
43713
43714
43715
43716 int num = Main.rand.Next(2) * 2 - 1;
43717 int num10 = Main.rand.Next(4);
43721 float num6 = Main.rand.NextFloatDirection() * (float)
Math.PI * 0.125f;
43723 {
43725 }
43727 {
43729 }
43735 {
43736 float num7 = (float)
Math.PI * 2
f * Main.rand.NextFloat();
43741 }
43743 {
43744 float num8 = (float)
Math.PI * 2
f * Main.rand.NextFloat();
43749 }
43751 {
43752 float f = (float)
Math.PI * 2
f * Main.rand.NextFloat();
43754 float num2 = (float)
Math.PI / 2
f /
num9 * Main.rand.NextFloatDirection();
43757 for (
int i = 0; (float)i <
num9; i++)
43758 {
43761 }
43765 }
43766 }
References Terraria.Main.rand, and Terraria.Utils.RotatedBy().
Referenced by Terraria.NPC.AI_123_Deerclops(), Terraria.Player.SpawnHallucination(), and Terraria.NPC.SpawnPassiveShadowHands().