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

◆ TryGettingHitByOtherPlayersExplosives()

void Terraria.Projectile.TryGettingHitByOtherPlayersExplosives ( )
inlineprivate

Definition at line 91600 of file Projectile.cs.

91601 {
91602 if (owner != Main.myPlayer)
91603 {
91605 Damage();
91606 }
91607 }
int owner
The index of the player who owns this projectile. In Multiplayer, Clients "own" projectiles that they...

References Terraria.GameContent.Damage, and Terraria.Main.myPlayer.