Ejemplo n.º 1
0
    /// <summary>
    /// 获得技能基础属性加成
    /// </summary>
    public CardBaseAttribute getMountsSkillEffectNum()
    {
        CardBaseAttribute attr = new CardBaseAttribute();

        Skill[] tempSkills = getSkills();
        if (tempSkills == null || tempSkills.Length < 1)
        {
            return(attr);
        }
        for (int i = 0; i < tempSkills.Length; i++)
        {
            attr.mergeCardBaseNum(tempSkills [i].getSkillEffect());
        }
        return(attr);
    }