UN Testing 2
Winning a Diplomatic Victory
UN Builder vs. AI with the most population that did not build UN
Needs 62% of the vote to win the game. (More like 60% when world population is small?

)
If player has precisely or more than 62% of world population, then victory resolution will not come up.

(Can't vote yourself a win by yourself)
If neither candidate meets the requires +diplomacy threshold, then the AI will abstain from voting.
The diplomacy threshold for AI to vote for player is
+8 diplo AND they like player more than their opponent in the election (AI with most population)
By +8 diplo, I mean 2 diplo away from being Friendly. Or just enough diplo to get Pleased, then +5 more.
The diplomacy matters on the turn before the resolution choices come up.
When the resolution came up, I chose to propose Diplo victory and voted for myself.
I then changed all the AI from Cautious to Friendly with world builder.
The following turn, they all abstained when the voting results were announced.
Timeline of Test
Turn 2 - last hammers go into U.N. (Diplo matters this turn, make sure AI like you more than opponent)
Turn 3 - UN movie plays, select yourself as UN Secretary
Turn 4 - Secretary announced
Turn 5 - Wait
Turn 6 - Wait
Turn 7 - Wait
Turn 8 - Resolution comes up next turn (Diplo matters this turn, make sure the AI are all +8 diplo or more and they like you more than opponent)
Turn 9 - Resolution comes up, choose Diplomatic Victory
Turn 10 - Results announced, Diplomatic Win
Turn 14 - In case the vote went bad, the resolution comes up next turn (Diplo matters this turn)
Turn 15 - Resolution comes up, choose Diplomatic Victory
Turn 16 - Results announced, Diplomatic Win
Population changes each turn, how many votes does the player get?
Turn 8 - 12 empire population, resolution next turn
Turn 9 - 13 empire population, resolution comes up, choose Diplomatic Victory
Turn 10 - 14 empire population, results of vote are announced, Player got 14 votes.
The player gets votes based on empire population on the turn results are announced.
What if the player has 58% of world population and chooses Diplomatic Victory Resolution, and then has 64% of world pop when the results are announced?
Can they vote themselves alone a UN victory?
Nope, the election results never come up. "The Election has been Canceled" Boooo!