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

◆ ResetMeleeHitCooldowns()

void Terraria.Player.ResetMeleeHitCooldowns ( )
inline

Definition at line 43449 of file Player.cs.

43450 {
43451 if (Main.myPlayer == whoAmI)
43452 {
43453 for (int i = 0; i < 200; i++)
43454 {
43455 meleeNPCHitCooldown[i] = 0;
43456 }
43457 }
43458 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Definition Entity.cs:16
int[] meleeNPCHitCooldown
Definition Player.cs:3273

References Terraria.Player.meleeNPCHitCooldown, Terraria.Main.myPlayer, and Terraria.Entity.whoAmI.

Referenced by Terraria.Player.ItemCheck_StartActualUse().

+ Here is the caller graph for this function: