|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| int Terraria.NPC.lastInteraction = 255 |
The F:Terraria.Entity.whoAmI of the T:Terraria.Player that last damaged this NPC. Used to award Banner items to the player that killed the NPC, but can be used for many other effects.
The default value is 255. If the value is 255, the NPC has not been damaged by any T:Terraria.Player.
The F:Terraria.NPC.playerInteraction array tracks all players that have damaged this NPC.
Definition at line 536 of file NPC.cs.
Referenced by Terraria.NPC.CopyInteractions().