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

◆ IsAttachedTo()

bool Terraria.Projectile.IsAttachedTo ( NPC npc)
inline

Definition at line 59373 of file Projectile.cs.

59374 {
59375 if (aiStyle == 113 && ai[0] == 1f && ai[1] == (float)npc.whoAmI)
59376 {
59377 return true;
59378 }
59379 return false;
59380 }

References Terraria.Entity.whoAmI.

Referenced by Terraria.NPC.PopAllAttachedProjectilesAndTakeDamageForThem().