mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 02:43:26 +00:00
Lua AI helper functions: modify a comment
This commit is contained in:
parent
da255abad7
commit
05eb2d7620
@ -67,7 +67,7 @@ function battle_calcs.unit_attack_info(unit, cache)
|
||||
end
|
||||
end
|
||||
|
||||
-- 'number' key is apparently not included in attack table if its value is zero
|
||||
-- [attack]number= defaults to zero; must be defined for battle_calcs.best_weapons()
|
||||
a.number = a.number or 0
|
||||
|
||||
table.insert(unit_info.attacks, a)
|
||||
|
Loading…
x
Reference in New Issue
Block a user