Exemple #1
0
        public static void Update()
        {
            float h = InterOp.get_uber_state_value(4, (int)BonusType.HealthRegen);

            if (h > 0)
            {
                InterOp.add_health(h * 0.0028f);
            }
            float e = InterOp.get_uber_state_value(4, (int)BonusType.EnergyRegen);

            if (e > 0)
            {
                InterOp.add_energy(e * 0.00028f);
            }
        }