lp:~widelands-dev/widelands/attack_fix
Created by
TiborB
and last modified
Small fix to AI regarding the atttacks. Two points:
- AI now test visibility of a building it is going to attack - this was in fact a bug - though not visible to human player - AI was trying to attack but 'engine' had not allowed such attack because a site was not visible to AI player. Just now I found out what was going on
- Add some randomness to number of attack soldiers - ths will affect situation when there is more then 10 available attack soldiers.
Branch merges
Propose for merging
No branches
dependent on this one.
- GunChleoc: Approve
-
Diff: 73 lines (+21/-6)1 file modifiedsrc/ai/defaultai.cc (+21/-6)
Branch information
Recent revisions
This branch has not been scanned yet.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:widelands