add "damage" ability in damage calculation window(UI)
In damage calculation window, the "damage" weapons specials were used in calculation but not the abilities equivalent.
This commit is contained in:
parent
c394353d48
commit
b4275d9c70
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void attack_predictions::set_data(window& window, const combatant_data& attacker
|
|||
}
|
||||
|
||||
// Get damage modifiers.
|
||||
unit_ability_list dmg_specials = weapon->get_specials("damage");
|
||||
unit_ability_list dmg_specials = weapon->get_special_ability("damage");
|
||||
unit_abilities::effect dmg_effect(dmg_specials, weapon->damage(), attacker.stats_.backstab_pos);
|
||||
|
||||
// Get the SET damage modifier, if any.
|
||||
|
|
Loading…
Add table
Reference in a new issue