public void CreatOriginalCardGroup(PlayManager.HeroCareer heroCareer)
    {
        //TODO
        //根据传入的不同职业生成不同的初始卡组

        CardGroup = new Card[200];
        if (heroCareer == PlayManager.HeroCareer.Warrior)
        {
            for (int i = 0; i < 8; i++)
            {
                CardGroup[i] = new Card(Card.CardType.AtkCard, "打击", "对目标造成<color=red>3(+ATK)</color>点伤害,获得<color=yellow>3</color>点怒气", 3, 0);
            }
            for (int i = 0; i < 5; i++)
            {
                CardGroup[i + 8] = preSkillType[i];
            }
            CardGroup[13] = preEnventType[2];
        }
        else if (heroCareer == PlayManager.HeroCareer.Master)
        {
        }
        else if (heroCareer == PlayManager.HeroCareer.Warrior)
        {
        }
    }
Beispiel #2
0
    publi / c void CreatOriginalCardGroup(PlayManager.HeroCareer heroCareer)
    {
        //TODO
        //根据传入的不同职业生成不同的初始卡组

        CardGroup = new Card[200];
        if (heroCareer == PlayManager.HeroCareer.Warrior)
        {
            for (int i = 0; i < 6; i++)
            {
                CardGroup[i] = preBaseType[i] ;
            }
            for (int i = 0; i < 9; i++)
            {
                CardGroup[i + 6] = preSkillType[i];
            }
        }
        else if (heroCareer == PlayManager.HeroCareer.Master)
        {
        }
        else if (heroCareer == PlayManager.HeroCareer.Warrior)
        {
        }
    }