battle_calcs.lua: fix a variable name
This commit is contained in:
parent
1d42a85e95
commit
8ffcc6eefc
1 changed files with 1 additions and 1 deletions
|
@ -998,7 +998,7 @@ function battle_calcs.attack_combo_stats(tmp_attackers, tmp_dsts, defender, cach
|
|||
-- If attacker has attack with 'slow' special, it should always go first
|
||||
-- Almost, bonus should not be quite as high as a really high CTK
|
||||
-- This isn't quite true in reality, but can be refined later
|
||||
if AH.has_weapon_special(a, "slow") then
|
||||
if AH.has_weapon_special(attacker, "slow") then
|
||||
rating = rating + wesnoth.unit_types[defender.type].cost / 2.
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue