Opened 4 years ago
Closed 4 years ago
#5800 closed defect (fixed)
Petra error in incrementBuilderCounters for structures/maur_defense_tower with count < 0 (vs the Mauryans)
Reported by: | Minohaka | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 24 |
Component: | AI | Keywords: | |
Cc: | Patch: | Phab:D2962 |
Description
I was playing vs the Mauryans and got this:
Petra error in incrementBuilderCounters for structures/maur_defense_tower with count < 0
Attachments (1)
Change History (4)
by , 4 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 4 years ago
Milestone: | Backlog → Alpha 24 |
---|---|
Priority: | Should Have → Must Have |
Missed in Phab:rP23916, indeed the AI sees "CitizenSoldier" and assigns the "worker" role to the Mauryan elephant archer, but it didn't hunt since it wasn't "Cavalry". Now it does since it is FastMoving, and thus we end up on an erroring path.
I think the elephant shouldn't be a citizen soldier at all, to be honest.
comment:2 by , 4 years ago
Patch: | → Phab:D2962 |
---|
comment:3 by , 4 years ago
Component: | Core engine → AI |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In r24009
Fix AI using Maurya elephant archers as hunters following rP23916
The Maurya elephant archer is a fast moving citizen soldier, despite being unable to gather. This led to an issue post rP23916.
Reviewed By: bb
Fixes #5800
Differential Revision: https://code.wildfiregames.com/D2962
Game replay