mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 15:59:31 +00:00
Convert a (unused) macro to use [goal]
This commit is contained in:
parent
e087bbfa59
commit
aafe86364b
@ -340,12 +340,15 @@
|
||||
type=objective
|
||||
|
||||
[ai]
|
||||
[protect_location]
|
||||
x=$ai_controller.side_$ally_side|_current_settings.defend_location.x
|
||||
y=$ai_controller.side_$ally_side|_current_settings.defend_location.y
|
||||
radius=6
|
||||
[goal]
|
||||
name=protect_location
|
||||
[criteria]
|
||||
x=$ai_controller.side_$ally_side|_current_settings.defend_location.x
|
||||
y=$ai_controller.side_$ally_side|_current_settings.defend_location.y
|
||||
[/criteria]
|
||||
protect_radius=6
|
||||
value=20
|
||||
[/protect_location]
|
||||
[/goal]
|
||||
[/ai]
|
||||
|
||||
[option]
|
||||
|
Loading…
x
Reference in New Issue
Block a user