#2603 closed defect (fixed)
AI common API does not take into account promotion technologies when training units.
Reported by: | mimo | Owned by: | mimo |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 17 |
Component: | AI | Keywords: | |
Cc: | Patch: |
Description
One of the reasons of the present late game problems in the AIs (either Aegis or Petra) is that the common API does not take promotion technologies into account when trying to build new units. This is done in the function trainableEntities from common-api/entity.js, where the list is taken directly from the trainer's template. So in late game, the AI continuously tries (without success) to train basic units while only advanced or elite ones are available.
r15243 contains a temporary hack which should be removed when this is fixed.
Change History (2)
comment:1 by , 10 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 10 years ago
Milestone: | Backlog → Alpha 17 |
---|
Note:
See TracTickets
for help on using tickets.
In 15548: