22595 {
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22612 {
22613 if (Main.rand.Next(45) == 0)
22614 {
22615 int type = Main.rand.Next(139, 143);
22617 Main.dust[
num].velocity.X *= 1
f + (float)Main.rand.Next(-50, 51) * 0.01f;
22618 Main.dust[
num].velocity.Y *= 1
f + (float)Main.rand.Next(-50, 51) * 0.01f;
22619 Main.dust[
num].velocity.X += (float)Main.rand.Next(-50, 51) * 0.01f;
22620 Main.dust[
num].velocity.Y += (float)Main.rand.Next(-50, 51) * 0.01f;
22621 Main.dust[
num].velocity.Y -= 1
f;
22622 Main.dust[
num].scale *= 0.7f + (float)Main.rand.Next(-30, 31) * 0.01f;
22623 Dust
obj = Main.dust[
num];
22625 }
22626 if (Main.rand.Next(225) == 0)
22627 {
22628 int type2 = Main.rand.Next(276, 283);
22630 Main.gore[
num2].velocity.X *= 1
f + (float)Main.rand.Next(-50, 51) * 0.01f;
22631 Main.gore[
num2].velocity.Y *= 1
f + (float)Main.rand.Next(-50, 51) * 0.01f;
22632 Main.gore[
num2].scale *= 1
f + (float)Main.rand.Next(-20, 21) * 0.01f;
22633 Main.gore[
num2].velocity.X += (float)Main.rand.Next(-50, 51) * 0.01f;
22634 Main.gore[
num2].velocity.Y += (float)Main.rand.Next(-50, 51) * 0.01f;
22635 Main.gore[
num2].velocity.Y -= 1
f;
22638 }
22639 }
22640 }
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
static int TeamDyeShaderIndex
This class stores instances of various content types in a number of dictionaries. These instances ser...