Exemple #1
0
    private void Update()
    {
        if (CHs.Count > 0)
        {
            timer -= Time.deltaTime;
            if (timer <= 0)
            {
                foreach (charHealth CH in CHs)
                {
                    CH._getAttack(moreDamage[0], moreDamage[1], moreDamage[2]);
                }

                timer = time;
            }
        }
    }