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

◆ OwnerMinionAttackTargetNPC

NPC Terraria.Projectile.OwnerMinionAttackTargetNPC
get

Definition at line 574 of file Projectile.cs.

575 {
576 get
577 {
578 if (Main.player[owner].MinionAttackTargetNPC < 0)
579 {
580 return null;
581 }
582 return Main.npc[Main.player[owner].MinionAttackTargetNPC];
583 }
584 }
int owner
The index of the player who owns this projectile. In Multiplayer, Clients "own" projectiles that they...