Skip to content

Commit

Permalink
LoW7: Fix invalid use of aspects in [unit][ai]
Browse files Browse the repository at this point in the history
This is somewhat makeshift and doesn't quite produce
what is presumed to be the intended result

It does at least preserve the differing recruitment patterns though.
  • Loading branch information
CelticMinstrel committed Mar 31, 2018
1 parent 731c798 commit 512c24f
Showing 1 changed file with 29 additions and 19 deletions.
Expand Up @@ -238,15 +238,6 @@
#ifdef EASY
extra_recruit=Orcish Archer, Orcish Crossbowman, Orcish Assassin, Orcish Grunt, Orcish Warrior, Goblin Spearman, Wolf Rider, Goblin Knight, Goblin Pillager
#endif

[ai]
{AI_NO_SCOUTS}
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "scout,fighter,fighter,archer,mixed fighter"}
{AI_SIMPLE_NIGHT_ASPECT aggression 0.75}
{AI_SIMPLE_NIGHT_ASPECT caution 0.0}
{AI_SIMPLE_NIGHT_ASPECT grouping no}
{AI_SIMPLE_NIGHT_ASPECT attack_depth 5}
[/ai]
[/unit]

[unit]
Expand All @@ -265,20 +256,39 @@
#ifdef HARD
extra_recruit=Troll Whelp, Troll, Troll Rocklobber, Troll Shaman, Troll Warrior, Troll Hero
#endif
[/unit]

[ai]
{AI_NO_SCOUTS}
[ai]
# TODO: This should not apply to the nagas. How do this?
{AI_NO_SCOUTS}
# TODO: These three aspects are supposed to apply to the trolls and orcs only. How do this?
{AI_SIMPLE_NIGHT_ASPECT leader_aggression 0.75}
{AI_SIMPLE_NIGHT_ASPECT caution 0.0}
{AI_SIMPLE_NIGHT_ASPECT attack_depth 5}
# TODO: This is supposed to apply to the orcs only. How do this?
{AI_SIMPLE_NIGHT_ASPECT grouping no}
# TODO: This is supposed to apply to the trolls only. How do this?
{AI_SIMPLE_NIGHT_ASPECT grouping offensive}
[recruitment_instructions]
[recruit]
importance=0
[/recruit]
[pattern]
importance=1
leader_id=Truugl
#ifdef EASY
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter"}
type="fighter"
#else
{AI_SIMPLE_ALWAYS_ASPECT recruitment_pattern "fighter, mixed fighter, fighter, mixed fighter, fighter"}
type="fighter, mixed fighter, fighter, mixed fighter, fighter"
#endif
{AI_SIMPLE_NIGHT_ASPECT aggression 0.75}
{AI_SIMPLE_NIGHT_ASPECT caution 0.0}
{AI_SIMPLE_NIGHT_ASPECT attack_depth 5}
{AI_SIMPLE_NIGHT_ASPECT grouping offensive}
[/ai]
[/unit]
[/pattern]
[pattern]
importance=1
leader_id=Urug-Pir
type="scout,fighter,fighter,archer,mixed fighter"
[/pattern]
[/recruitment_instructions]
[/ai]
[/side]

### /ENEMIES ####
Expand Down

0 comments on commit 512c24f

Please sign in to comment.