HomeWildfire Games

Make phase technology researchable in all captured civic center. Reviewed by…

Description

Make phase technology researchable in all captured civic center. Reviewed by elexis. Fix #4572.

Details

Committed
fatherbushidoMay 13 2017, 3:58 PM
Parents
rP19568: [Windows] Automated build.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 1696
Build 2682: Post-Commit BuildJenkins

Event Timeline

mimo raised a concern with this commit.May 13 2017, 4:57 PM
mimo added a subscriber: mimo.

Was this tested with athen in AI? this can not work without changes in the init function of common-api/gamestate.js

This commit now has outstanding concerns.May 13 2017, 4:57 PM
In rP19569#21022, @mimo wrote:

Was this tested with athen in AI? this can not work without changes in the init function of common-api/gamestate.js

Oups. Sorry for that.

fatherbushido added a comment.EditedMay 13 2017, 7:32 PM

Ok it is indeed not working for the AI with athen.
Well, I see different way to fix it, but I don't know which one is the best.

  • splitting that phase tech. On one side it's fine for testing the replace thing but it's also annoying as it's a crucial tech.
  • using some hardcoding, anyway it's a bit hardcoded.
  • doing a bit more work in the for loop

(or revert that :p)

elexis accepted this commit.Jul 9 2017, 1:52 AM
elexis removed an auditor: mimo.
elexis added a subscriber: elexis.

Fixed by rP19578 / D491 and D500 / rP19585

This commit no longer requires audit.Jul 9 2017, 1:52 AM