diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2022-01-03 13:29:07 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2022-01-03 13:29:07 +0100 |
| commit | d48a3b8e8fd433860bfb59906d11d7aa3ce5b270 (patch) | |
| tree | 83ace47d47750d575a8fd9be10fef23cf7bb1b60 /rules/en/ai.md | |
| parent | 1e718734ee0d0aa8e79352074398179dc2d5d45d (diff) | |
| download | muhqs-game-d48a3b8e8fd433860bfb59906d11d7aa3ce5b270.tar.gz muhqs-game-d48a3b8e8fd433860bfb59906d11d7aa3ce5b270.zip | |
rules/ai: improve aggresive ai
Previously aggresive ai was not definied if there is no enemey unit
on the map.
Diffstat (limited to 'rules/en/ai.md')
| -rw-r--r-- | rules/en/ai.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rules/en/ai.md b/rules/en/ai.md index 609123bc..37d71ea2 100644 --- a/rules/en/ai.md +++ b/rules/en/ai.md @@ -21,8 +21,11 @@ Any ambiguity is decided at random (multiple units in attack range, multiple mos 1. If enemy Unit in attack Range then attack enemy Unit in Range 2. While move action available do - move towards nearest enemy unit until it is in attack range - if attack action avail then proceed at 1. + 3a. If enemy unit exists + move towards nearest enemy unit until it is in attack range + if attack action avail then proceed at 1. + 3b. Otherwise + move to random tile in movement range ## Shy 1. If not in the attack Range of an enemy Unit then |
