Beispiel #1
0
 public static Dictionary <DamageElement, float> GetWeaponDamageInflictions(this Skill skill, short level)
 {
     if (!skill.IsAttack())
     {
         return(new Dictionary <DamageElement, float>());
     }
     level = skill.GetAdjustedLevel(level);
     return(GameDataHelpers.MakeDamageInflictionAmountsDictionary(skill.weaponDamageInflictions, new Dictionary <DamageElement, float>(), level));
 }