47259 {
47260
47261
47262
47263
47264
47265
47266
47267
47268
47269
47272 {
47274 if (Main.rand.Next(3) == 0)
47275 {
47276 Dust dust = Dust.NewDustPerfect(
base.Center, 267);
47278 dust.noGravity = true;
47279 dust.alpha = 100;
47280 dust.color = Color.Lerp(
AI_171_GetColor(), Color.White, Main.rand.NextFloat() * 0.4f);
47281 dust.noLightEmittence = true;
47282 dust.scale *= 1.5f;
47283 }
47284 }
47286 {
47288 return;
47289 }
47292 }
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
float[] ai
An array with 3 slots used for any sort of data storage, which is occasionally synced to the server....
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....
float rotation
Rotation of the projectile. Radians not Degrees. Use T:Microsoft.Xna.Framework.MathHelper if you want...