Exemplo n.º 1
0
 public static Dictionary <DamageElement, MinMaxFloat> GetDamageAmountWithInflictions(this Item weaponItem, short level, float rate, ICharacterData character, Dictionary <DamageElement, float> damageInflictionAmounts)
 {
     if (weaponItem == null ||
         !weaponItem.IsWeapon())
     {
         return(new Dictionary <DamageElement, MinMaxFloat>());
     }
     return(GameDataHelpers.MakeDamageWithInflictions(weaponItem.damageAmount, level, rate, weaponItem.GetEffectivenessDamage(character), damageInflictionAmounts));
 }