public IEnumerator KnightMothersPrayer() { PlayerCombat pc = GetComponent <PlayerCombat>(); stopManualMove = true; float temp = jumpForce; jumpForce = 0; pc.ChangeMana(2f); yield return(new WaitForSeconds(1f)); pc.ChangeMana(2f); yield return(new WaitForSeconds(1f)); pc.ChangeMana(2f); yield return(new WaitForSeconds(1f)); pc.ChangeMana(2f); yield return(new WaitForSeconds(1f)); pc.ChangeMana(2f); stopManualMove = false; jumpForce = temp; }