PetraAI produces too much siege and ships.
|Reported by:||stanislas69||Owned by:||Freagarach|
|Priority:||Release Blocker||Milestone:||Alpha 25|
|Cc:||Freagarach, Angen||Patch:||Phab:D4184; Phab:D4193|
Description (last modified by )
See https://wildfiregames.com/forum/topic/45178-a25-svn-version-25810-not-playable/. Probably introduced in r25584.
- She constructs a lot of siege without using it. (Uses most of it after r25826.)
- She constructs way too much ships without using them. (Fixed in r25828.)
For the first point, it seems that a lot of attack plans are present, since AttackPlan.addSiegeUnits is called quite a lot, even though Siege is constructed.
The second point was the result of ships having class Ranged and thus PetraAI training them when asked to train Ranged units. Fixed by trying to train