Skip to content

Commit

Permalink
Lurkers Micro AI: bug fix for attempting to attack petrified units
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsc committed Dec 16, 2014
1 parent 8447ebb commit bad5e79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -19,6 +19,7 @@ Version 1.13.0-dev:
progress
* Lurkers Micro AI: fix bug in wander terrain selection
* Lurkers Micro AI: bug fix for attack error when lurker runs into ambush
* Lurkers MAI: bug fix for attempting to attack petrified units
* Several Micro AIs: fix a variety of rarely occurring but serious bugs, such
as invalid savegames or disabling the AI from working for the rest of the
turn or after changing the Micro AI settings.
Expand Down
2 changes: 1 addition & 1 deletion data/ai/micro_ais/cas/ca_lurkers.lua
Expand Up @@ -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 } } } }
}

Expand Down

0 comments on commit bad5e79

Please sign in to comment.