/// <summary> /// Sets the max energy of SCP-079. /// </summary> /// <param name="player"></param> /// <param name="amount"></param> public static void SetMaxEnergy(this ReferenceHub player, float amount) { player.scp079PlayerScript.NetworkmaxMana = amount; player.scp079PlayerScript.levels[player.GetLevel()].maxMana = amount; }