terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ AI_130_FlameBurstTower_FindTarget()

int Terraria.Projectile.AI_130_FlameBurstTower_FindTarget ( float shot_range,
float angleRatioMax,
Vector2 shootingSpot,
bool canChangeDirection = true )
inlineprivate

Definition at line 7017 of file Projectile.cs.

7018 {
7019 int num = 1;
7021 int whoAmI;
7022 if (ownerMinionAttackTargetNPC != null)
7023 {
7024 long num2 = 0L;
7025 bool flag = ownerMinionAttackTargetNPC.CanBeChasedBy(this, num2 != 0L);
7026 long num3 = 0L;
7027 bool flag2 = ownerMinionAttackTargetNPC.CanBeChasedBy(this, num3 != 0L);
7028 Vector2 center = ownerMinionAttackTargetNPC.Center;
7029 if (num == 0)
7030 {
7031 }
7033 if (num == 0)
7034 {
7035 }
7036 if (!true)
7037 {
7038 }
7039 int direction = this.direction;
7042 }
7043 int direction2 = this.direction;
7044 return whoAmI;
7045 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Entity.direction, j__TPar, System.L, Terraria.Projectile.OwnerMinionAttackTargetNPC, and Terraria.Entity.whoAmI.