75335 {
75336
75337
75338
75339
75340
75341
75342
75343
75345 {
75346 return;
75347 }
75349 {
75352 }
75354 {
75357 {
75359 }
75360 }
75363 {
75365 }
75367 {
75369 }
75370 for (
int i = 0; i <
num; i++)
75371 {
75372 if (Main.rand.Next(2) != 0)
75373 {
75375 dust.noGravity = true;
75376 dust.velocity *= 0.3f;
75377 if (Main.rand.Next(1) == 0)
75378 {
75379 dust.velocity.Y += (float)
Math.Sign(dust.velocity.Y) * 1.2f;
75380 dust.fadeIn += 0.5f;
75381 }
75382 }
75383 }
75385 }
static SlotId PlayTrackedSound(in SoundStyle style, Vector2? position=null)
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.
int height
The height of this Entity's hitbox, in pixels.
static readonly SoundStyle DD2_FlameburstTowerShot
int alpha
How transparent to draw this projectile. 0 to 255. 255 is completely transparent. ExampleBulletsets...
float[] localAI
Acts like F:Terraria.Projectile.ai, but does not sync to the server. Many vanilla T:Terraria....
int type
The Projectile ID of this projectile. The Projectile ID is a unique number assigned to each Projectil...
float rotation
Rotation of the projectile. Radians not Degrees. Use T:Microsoft.Xna.Framework.MathHelper if you want...