예제 #1
0
    //トランスの選択
    void ActTrance()
    {
        if (yh.submit != -1)
        {
            //手札を魔力の器に変換する

            ms.InputRefrect(handle,
                            (int)GameScript.ResponceTrance.mana + "," + yh.submit);
            yh.submit = -1;
        }
        else if (sv.isView && isSubViewBookmark && sv.submit != -1)
        {
            //ブックマークのカードを得る

            ms.InputRefrect(handle,
                            (int)GameScript.ResponceTrance.bookmark + "," + sv.submit);
            sv.submit = -1;
        }
        else if (isPass)
        {
            //パスを行う
            Debug.Log("isPass");

            ms.InputRefrect(handle,
                            (int)GameScript.ResponceTrance.none + "");
            isPass = false;
        }

        //魔力の器を手札に変える(未実装)
    }