Ejemplo n.º 1
0
    /// <summary>
    /// 进化端口
    /// </summary>
    private void sendEvoData()
    {
        tempCard = mainRole.getCard().Clone() as Card;
        EvolutionFPort fport = FPortManager.Instance.getFPort("EvolutionFPort") as EvolutionFPort;

        fport.evolutionCard(mainRole.getCard(), IntensifyCardManager.Instance.getFoodCard(), playEffect);
    }
    /// <summary>
    /// 进化端口
    /// </summary>
    private void sendEvoData()
    {
        tempCard = mainRole.getCard().Clone() as Card;
        EvolutionFPort fport = FPortManager.Instance.getFPort("EvolutionFPort") as EvolutionFPort;

        if (evoType == 2)
        {
            foodProp = PropManagerment.Instance.createProp(EvolutionManagerment.Instance.getCardByQuilty(mainRole.getCard()).sid);
            fport.evolutionCard(mainRole.getCard(), playEffect);
        }
        else
        {
            fport.evolutionCard(mainRole.getCard(), food.getCard(), playEffect);
        }
    }
Ejemplo n.º 3
0
    /** 主卡进化端口 */
    private void evolution()
    {
        EvolutionFPort fport = FPortManager.Instance.getFPort("EvolutionFPort") as EvolutionFPort;

        fport.surmountMainCard(mainCardOld, surmountOver);
    }
Ejemplo n.º 4
0
    /** 主卡进化端口 */
    private void evolution(int type)
    {
        EvolutionFPort fport = FPortManager.Instance.getFPort("EvolutionFPort") as EvolutionFPort;

        fport.evolutionMainCard(type, mainCard, evolutionOver);
    }