Lurkers Micro AI: bug fix for attempting to attack petrified units
This commit is contained in:
parent
ddefdbe53a
commit
7c725f3772
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ Version 1.12.0+dev:
|
|||
* Big Animals Micro AI: bug fix for units not attacking when [avoid_unit] is
|
||||
not set
|
||||
* Lurkers MAI: bug fix for attack error when lurker runs into ambush
|
||||
* Lurkers MAI: bug fix for attempting to attack petrified units
|
||||
* Stationed Guardian Micro AI: bug fix for unreachable stations
|
||||
* Campaigns:
|
||||
* Liberty:
|
||||
|
|
|
@ -20,7 +20,7 @@ end
|
|||
|
||||
function ca_lurkers:execution(ai, cfg)
|
||||
local lurker = get_lurker(cfg)
|
||||
local targets = wesnoth.get_units {
|
||||
local targets = AH.get_live_units {
|
||||
{ "filter_side", { { "enemy_of", { side = wesnoth.current.side } } } }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue