TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ AI_141_MonkStaffT1Explosion()

void Terraria.Projectile.AI_141_MonkStaffT1Explosion ( )
inlineprivate

Definition at line 76591 of file Projectile.cs.

76592 {
76593 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
76594 //IL_0006: Unknown result type (might be due to invalid IL or missing references)
76595 //IL_000b: Unknown result type (might be due to invalid IL or missing references)
76596 //IL_000d: Unknown result type (might be due to invalid IL or missing references)
76597 //IL_0012: Unknown result type (might be due to invalid IL or missing references)
76598 //IL_0017: Unknown result type (might be due to invalid IL or missing references)
76599 //IL_0018: Unknown result type (might be due to invalid IL or missing references)
76600 //IL_0021: Unknown result type (might be due to invalid IL or missing references)
76601 //IL_006e: Unknown result type (might be due to invalid IL or missing references)
76602 //IL_0081: Unknown result type (might be due to invalid IL or missing references)
76603 Point scanAreaStart = base.TopLeft.ToTileCoordinates();
76604 Point scanAreaEnd = base.BottomRight.ToTileCoordinates();
76605 _ = scanAreaStart.X / 2;
76606 _ = scanAreaEnd.X / 2;
76607 int explosionRange = width;
76608 ai[0] += 1f;
76609 if (ai[0] > 20f)
76610 {
76611 Kill();
76612 }
76613 else if (ai[0] == 1f)
76614 {
76617 }
76618 }
int width
The width of this Entity's hitbox, in pixels.
Definition Entity.cs:46
void CreateImpactExplosion2_SleepyOctopod(Vector2 explosionOrigin, bool causedShockwaves)
void CreateImpactExplosion(int dustAmountMultiplier, Vector2 explosionOrigin, ref Point scanAreaStart, ref Point scanAreaEnd, int explosionRange, out bool causedShockwaves)
float[] ai
An array with 3 slots used for any sort of data storage, which is occasionally synced to the server....