Patrol MAI: change from behavior CA to side-wide CA
Only side-wide CAs can use the external CAs, and there are some other changes we want to make as well that require this.
This commit is contained in:
parent
ea99f746c9
commit
909d33ca77
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ function wesnoth.wml_actions.micro_ai(cfg)
|
|||
if (not cfg.id) then
|
||||
H.wml_error("[micro_ai] tag (patrol_unit) is missing required parameter: id")
|
||||
end
|
||||
CA_parms = { { ca_id = "mai_patrol", score = cfg.ca_score or 300000, sticky = true } }
|
||||
CA_parms = { { ca_id = "mai_patrol", score = cfg.ca_score or 300000 } }
|
||||
|
||||
--------- Recruiting Micro AI - side-wide AI ------------------------------------
|
||||
elseif (cfg.ai_type == 'recruiting') then
|
||||
|
|
Loading…
Add table
Reference in a new issue