User talk:PitaKang/Axis vs Allies

Location
Location is how close the nation is to the place of the conflict. Goes by capital city.
 * At the war: +5
 * Next to the war: +4
 * Close to the war: +3
 * Far from the war: +2
 * Halfway around the world: +1

Tactical Advantage

 * Attacker’s advantage: 1
 * Defender’s advantage: 2
 * Home is island: Defenders +2, attackers -2
 * Home is desert: Defenders +3, attackers -3
 * Amphibious landing: Defenders +4, attackers -4

Strength

 * Every nation militarily helping with belligerents/defenders: +Tier
 * Every nation nonmilitarily helping with belligerents/defenders: +Tier/2
 * Every vassal militarily helping with belligerents/defenderes: +Tier/2
 * Every vassal nonmilitarily helping with belligerents/defenders: +Tier/4
 * Every nation militarily occupied by nation: -1
 * Side with greater population: +1 per hundred thousand
 * Side with greater industry: +5

Motive

 * Life or death (country’s sovereign existence is threatened): 10
 * Religious: 7
 * Social/moral: 6
 * Political: 5
 * Economical: 3

"Special" Status
In many points in history, a revolution (Hitler, Napoleon) has led to massive military successes at first. However, such revolutions have also led to massive failures (Mussolini, the South in Amer. Civil War). If a revolution has taken place in your nation in the past 7 years into an autocratic dictatorship, you are eligible for a bonus in military. If all of the above, +10 for that algorithm only
 * If revolution to autocratic dictatorship in past 7 years.
 * If you get 6 or more in chance. However, if your dictatorship has been historically successful (Hitler, Napoleon, etc) then you get it anyways.

Morale

 * Recent major military defeats (within past year): -2 per defeat
 * Extermination of conquered peoples: -3
 * Motive is less than 6: -1
 * War lasted beyond 7 years: -3

Nuclear weapons

 * Strategic nuclear weapon use on capital city: +10 for belligerent, -10 for defendant (of nuke). +2 per additional nuke for belligerent, -2 per additional nuke for defendant.
 * Strategic nuclear weapon use on major city: +7 for belligerent, -10 for defendant (of nuke). +1.5 per additional nuke for belligerent, -1.5 per additional nuke for defendant.
 * Strategic nuclear weapon use on minor city: +5 for belligerent, -10 for defendant (of nuke). +1 per additional nuke for belligerent, -1 per additional nuke for defendant.
 * Tactical nuclear weapon use: +5 for first tactical nuke, +.5 per additional nuke.
 * Nuclear weapon use for belligerent: -5 morale this turn and next turn.
 * Nuclear weapon use for defendant: -2.5 morale this turn only.

Economic situation

 * Good economy: +5
 * Average economy: +1
 * Bad economy: -5

Chance
Take the UTC time at that moment. (ie 21:32). Then, multiply those numbers. Any zeros count as one. Then take the declaring user's edit count. Then divide the UTC number by the edit count. Multiply that number by pi Take the fifth digit in the number, and there's your chance. Then, for the opponent, take the eighth number.
 * 2*1*3*2= 8
 * ie 2831.
 * 8/2831= 0.00282585658
 * 0.00282585658*pi= 0.00887318966
 * 7
 * 8

Result
The winner will win depending on how much he/she wins by.