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

◆ SetImmuneTimeForAllTypes()

void Terraria.Player.SetImmuneTimeForAllTypes ( int time)
inline

Definition at line 36009 of file Player.cs.

36010 {
36011 immune = true;
36012 immuneTime = time;
36013 for (int i = 0; i < hurtCooldowns.Length; i++)
36014 {
36015 hurtCooldowns[i] = time;
36016 }
36017 }
int[] hurtCooldowns
Definition Player.cs:2699