private IEnumerator ExecuteSpecial() { blueButton.enabled = false; greenButton.enabled = false; orangeButton.enabled = false; redButton.enabled = false; blueButtonImage.enabled = false; greenButtonImage.enabled = false; orangeButtonImage.enabled = false; redButtonImage.enabled = false; specialText.enabled = false; specialImage.enabled = false; spriteImage.material.color = clear; if (selectedOrder.Count == 4 && CheckMatch()) { valkyrieController.StartCoroutine(valkyrieController.AddToHealth(6500)); yield return(new WaitForSeconds(1)); valkyrieController.StartCoroutine(valkyrieController.AddToMagic(2000)); yield return(new WaitForSeconds(1)); paladinController.StartCoroutine(paladinController.AddToHealth(8000)); yield return(new WaitForSeconds(1)); paladinController.StartCoroutine(paladinController.AddToMagic(2000)); yield return(new WaitForSeconds(1)); StartCoroutine(AddToHealth(5000)); yield return(new WaitForSeconds(1)); StartCoroutine(AddToMagic(8000)); yield return(new WaitForSeconds(1)); } else { valkyrieController.StartCoroutine(valkyrieController.AddToHealth(1625)); yield return(new WaitForSeconds(1)); valkyrieController.StartCoroutine(valkyrieController.AddToMagic(500)); yield return(new WaitForSeconds(1)); paladinController.StartCoroutine(paladinController.AddToHealth(2000)); yield return(new WaitForSeconds(1)); paladinController.StartCoroutine(paladinController.AddToMagic(500)); yield return(new WaitForSeconds(1)); StartCoroutine(AddToHealth(1250)); yield return(new WaitForSeconds(1)); StartCoroutine(AddToMagic(2000)); yield return(new WaitForSeconds(1)); } yield return(new WaitForSeconds(1)); if (b_isWounded) { spriteImage.material.color = transparent; woundedImage.enabled = true; } turnController.UpdateTurn(); }