private int CheckCost()
    {
        int allcost = 0;

        cSelecting.ForEach(c =>
        {
            CardDisplay cd = c.GetComponent <CardDisplay>();
            allcost       += cd.GetCost();
        });
        return(allcost);
    }
    public void CardEffectsPhase()
    {
        int lifeplus = 0;
        int atk      = -1;

        pHand.ForEach(c =>
        {
            CardDisplay cd = c.GetComponent <CardDisplay>();
            if (cd.cid == 14 && atk == -1)
            {
                atk = 0;
            }
        });
        cSelecting.ForEach(c =>
        {
            CardDisplay cd = c.GetComponent <CardDisplay>();
            lifeplus      += cd.GetCost();
            if ((cd.cid == 0 || cd.cid == 16) && atk < 0)
            {
                atk = 0;
            }
            if (cd.cid == 11 && atk == 0)
            {
                atk = 1;
            }
            if (cd.cid == 4 || cd.cid == 15)
            {
                pHand.Remove(c);
                pDeck.Remove(c);
                cSelecting.Remove(c);
                Destroy(c);
            }
            if (cd.cid == 16)
            {
                bomb++;
            }
            if (cd.cid == 7)
            {
                bomb += 3;
            }
            if (cd.cid == 4)
            {
                muteki = true;
            }
        });

        weapon = atk;
        player.GetComponent <PlayerCtrl>().Life += lifeplus;
        player.GetComponent <PlayerCtrl>().ResetCrit();
    }