47190 {
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209
47210
47212 {
47214 }
47217 _ =
ai[0] / ((float)
Math.PI * 2
f);
47220 {
47222 return;
47223 }
47226 {
47228 }
47233 if (Main.npc.IndexInRange(
num3))
47234 {
47236 if (
nPC.active &&
nPC.type == 636)
47237 {
47238 base.Center =
nPC.Center;
47239 }
47245 DelegateMethods.v3_1 =
v3_;
47247 {
47248 Point point = (base.Center +
vector *
num4 *
num5).ToTileCoordinates();
47249 DelegateMethods.CastLightOpen(point.X, point.Y);
47250 }
47251 }
47252 else
47253 {
47255 }
47256 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
static readonly SoundStyle Item159
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...
float scale
Scales how large the projectile will be drawn. Will also affect the hitbox (F:Terraria....