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

◆ lifeRegenCount

int Terraria.Player.lifeRegenCount

This player's accumulated life regeneration.
If this value reaches or exceeds 120, the player gains F:Terraria.Player.lifeRegenCount / 120 health and this value decreases until it no longer exceeds 120.
If this value reaches or exceeds -120, the player loses health in the same way.

Definition at line 2137 of file Player.cs.

Referenced by Terraria.Player.ItemCheck_UseTeleportRod(), and Terraria.Player.UpdateLifeRegen().