I fixed the bug with the erroneous bonus prioritization however had to also delete some useful related stuff in the process. You can find the changes in the github repository I just created:
https://github.com/Norman1/WarLightAII created 3 games on common maps and with open seats. The AI won 2 of those games.
https://www.warlight.net/MultiPlayer?GameID=10627347--> Strange that the AI doesn't go more aggressive into the opponent bonuses.
--> Turn 8 it's strange that the bot accepts getting pushed out of the Scandinavian Peninsula.
--> The bot is supposed to priorize Xinjang high since it borders multiple opponent bonuses.
https://www.warlight.net/MultiPlayer?GameID=10627518--> Very strange expansion turn 1, this doesn't seem right.
https://www.warlight.net/MultiPlayer?GameID=10627558--> Strange expansion turn 4
--> Again the AI doesn't go aggressive towards the opponent bonuses turn 7 however the reason is here that the opponent is threatening a more important bonus.
I'm not sure about some of those fighting issues however the mentioned expansion mistakes shouldn't have been part of the initial AI. Apart from that this looks now more like the bot from the AI challenge. Of course the AI makes way more mistakes than I mentioned however those are mistakes which it always made.
Edit: Trolls Europe map
https://www.warlight.net/MultiPlayer?GameID=10627998The AI still fails on "strange" settings like an increasec neutral count however it's already capable to defeat standard non prerequisite 1v1 game joiners regularly on "standard" settings.
Edited 2/28/2016 05:43:05