Terraria.ModLoader.PlayerHooks.NaturalLifeRegen C# (CSharp) Method

NaturalLifeRegen() public static method

public static NaturalLifeRegen ( Player player, float &regen ) : void
player Player
regen float
return void
        public static void NaturalLifeRegen(Player player, ref float regen)
        {
            foreach (ModPlayer modPlayer in player.modPlayers)
            {
                modPlayer.NaturalLifeRegen(ref regen);
            }
        }