Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 mimo, 10 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 15548:

fix #2603

comment:2 by mimo, 10 years ago

Milestone: BacklogAlpha 17
Note: See TracTickets for help on using tickets.