Exemple #1
0
    private void OnRemoveFocus()
    {
        StatusEffect s = statusEffects[Stat.Focus][0];

        if (s.RemainingDuration > 0)
        {
            damagePopup.DisplayInterrupt();
        }
        else
        {
            s.LinkedActor.Heal(s.HealthOnRemove);
        }
    }