Fixed bug #16604 - fixed broken AI of SoF::1.
Most important point: AI won't target units that it is not allowed to reach due to avoid aspect being set
This commit is contained in:
parent
13bb2337aa
commit
4f7ed1467e
3 changed files with 29 additions and 26 deletions
|
@ -1,7 +1,9 @@
|
|||
Version 1.9.0-svn:
|
||||
* AI:
|
||||
* Fix bug #15994 : formula ai candidate actions specified in [side][ai]
|
||||
* Fixed bug #15994 : Formula AI candidate actions specified in [side][ai]
|
||||
don't always work.
|
||||
* Fixed bug #16406: Broken AI of SoF 1, and improved upgrade procedure for
|
||||
old-style AI config.
|
||||
* Campaigns:
|
||||
* An Orcish Incursion:
|
||||
* Made 'Valley of Trolls' easier on the easiest difficulties.
|
||||
|
|
|
@ -39,31 +39,22 @@
|
|||
{GOLD 300 250 200}
|
||||
team_name=good
|
||||
user_team_name=_"Allies"
|
||||
{ai/aliases/stable_singleplayer.cfg}
|
||||
[ai]
|
||||
turns=1-3
|
||||
recruitment_pattern=fighter,archer
|
||||
aggression=1.0
|
||||
caution=0.5
|
||||
leader_value=0
|
||||
village_value=0.0
|
||||
[/ai]
|
||||
|
||||
[ai]
|
||||
turns=4-FOREVER
|
||||
recruitment_pattern=fighter,archer
|
||||
aggression=0.5
|
||||
caution=0.5
|
||||
leader_value=0
|
||||
village_value=0.0
|
||||
[protect_unit]
|
||||
type=Caravan
|
||||
radius=1
|
||||
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern fighter,archer}
|
||||
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.5}
|
||||
{AI_SIMPLE_ALWAYS_ASPECT caution 0.5}
|
||||
{AI_SIMPLE_ALWAYS_ASPECT leader_value 0}
|
||||
{AI_SIMPLE_ALWAYS_ASPECT village_value 0}
|
||||
[goal]
|
||||
name=protect_unit
|
||||
[criteria]
|
||||
side=1
|
||||
type=Caravan
|
||||
[/criteria]
|
||||
value=7
|
||||
[/protect_unit]
|
||||
[avoid]
|
||||
x=0-32,17-32
|
||||
y=1-15,24-32
|
||||
[/avoid]
|
||||
protect_radius=12
|
||||
[/goal]
|
||||
[/ai]
|
||||
[/side]
|
||||
|
||||
|
@ -78,9 +69,17 @@
|
|||
facing=sw
|
||||
{RECRUIT (Elvish Fighter,Elvish Scout,Elvish Archer) (Elvish Fighter,Elvish Scout,Elvish Archer,Elvish Shaman) (Elvish Fighter,Elvish Scout,Elvish Archer,Elvish Shaman)}
|
||||
{GOLD 175 225 250}
|
||||
{ai/aliases/stable_singleplayer.cfg}
|
||||
[ai]
|
||||
grouping=offensive
|
||||
passive_leader=yes
|
||||
{AI_SIMPLE_ALWAYS_ASPECT grouping offensive}
|
||||
{AI_SIMPLE_ALWAYS_ASPECT passive_leader yes}
|
||||
[goal]
|
||||
[criteria]
|
||||
side=1
|
||||
type=Caravan
|
||||
[/criteria]
|
||||
value=7
|
||||
[/goal]
|
||||
[/ai]
|
||||
[/side]
|
||||
|
||||
|
|
|
@ -20,6 +20,8 @@ Version 1.9.0-svn:
|
|||
* Northern Rebirth:
|
||||
* In Showdown, you recover full gold only if Sisal survived the previous
|
||||
scenario.
|
||||
* Sceptre of Fire:
|
||||
* Fixed bug #16406: Fixed broken AI in first scenario.
|
||||
* The South Guard:
|
||||
* A new set of story art by Scavenger.
|
||||
* In 'Vengeance', the final objective is now revealed at the beginning of
|
||||
|
|
Loading…
Add table
Reference in a new issue