예제 #1
0
    // 追撃効果の情報を取得
    public FollowAttackInfo Get_FollowAttackInfo()
    {
        MasterDataSkillPassive wrk_master = this;

        while (wrk_master != null)
        {
            if (wrk_master.skill_type == MasterDataDefineLabel.PassiveSkillCategory.FOLLOW_ATK)
            {
                FollowAttackInfo ret_val = new FollowAttackInfo();
                ret_val.m_AttackPercent = wrk_master._Get_FOLLOW_ATK_SCALE();
                ret_val.m_ElementType   = wrk_master._Get_FOLLOW_ATK_ELEM();
                ret_val.m_EffectType    = wrk_master._Get_FOLLOW_ATK_EFFECT();
                return(ret_val);
            }

            wrk_master = BattleParam.m_MasterDataCache.useSkillPassive((uint)wrk_master.add_fix_id);
        }

        return(null);
    }