/// <summary> /// 全て考慮したFromDamageRateの値を返す(複属性対応) /// </summary> /// <param name="damageElement">被ダメ属性</param> /// <returns>倍率</returns> public double GetFromDamageRate(E_Element damageElement) { return(ElementClass.GetRate(FromDamageRate, damageElement)); }
/// <summary> /// 全て考慮したToDamageRateの値を返す(複属性対応) /// </summary> /// <param name="attackElement">攻撃属性</param> /// <returns>倍率</returns> public double GetToDamageRate(E_Element attackElement) { return(ElementClass.GetRate(ToDamageRate, attackElement)); }