public override void Process(GameObject caster, CardEffectsController effectController, GameObject target, Card card, int effectIndex)
    {
        HealthController targetHealth = target.GetComponent <HealthController>();

        if (card.effectValue[effectIndex] != 0)
        {
            targetHealth.ChangeAttack(card.effectValue[effectIndex]);
        }
        else
        {
            targetHealth.ChangeAttack(effectController.GetCard().GetTempEffectValue());
        }
    }
 public override IEnumerator Process(GameObject caster, CardEffectsController effectController, List <GameObject> target, Card card, int effectIndex)
 {
     foreach (GameObject targ in target)
     {
         HealthController targetHealth = targ.GetComponent <HealthController>();
         if (card.effectValue[effectIndex] != 0)
         {
             targetHealth.ChangeAttack(card.effectValue[effectIndex]);
         }
         else
         {
             targetHealth.ChangeAttack(effectController.GetCard().GetCard().GetTempEffectValue());
         }
     }
     yield return(new WaitForSeconds(0));
 }