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_134_Ballista_FindTarget()

int Terraria.Projectile.AI_134_Ballista_FindTarget ( float shot_range,
float deadBottomAngle,
Vector2 shootingSpot )
inlineprivate

Definition at line 7048 of file Projectile.cs.

7049 {
7050 int num = 1;
7052 int whoAmI;
7053 if (ownerMinionAttackTargetNPC != null)
7054 {
7055 long num2 = 0L;
7056 bool flag = ownerMinionAttackTargetNPC.CanBeChasedBy(this, num2 != 0L);
7057 long num3 = 0L;
7058 bool flag2 = ownerMinionAttackTargetNPC.CanBeChasedBy(this, num3 != 0L);
7059 Vector2 center = ownerMinionAttackTargetNPC.Center;
7060 if (num == 0)
7061 {
7062 }
7064 if (num == 0)
7065 {
7066 }
7067 if (!true)
7068 {
7069 }
7072 }
7073 return whoAmI;
7074 }
class f__AnonymousType0<< Count > j__TPar

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