Esempio n. 1
0
    /// <summary>
    /// 获得技能属性百分比加成
    /// </summary>
    public CardBaseAttribute getMountsSkillEffectPer()
    {
        CardBaseAttribute attr = new CardBaseAttribute();

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