//Internal Methods protected override IEnumerator ModifierEffect() { player = FindObjectOfType <PlayerAbilityManager>(); player.SetDoubleCooldown(true); float timer = 0f; while (timer <= modifierDuration) { timer += Time.deltaTime / Time.timeScale; yield return(null); } player.SetDoubleCooldown(false); ExpireModifier(); }
public override void EndModifierEffects() { StopAllCoroutines(); player.SetDoubleCooldown(false); ExpireModifier(); }