Difference between revisions of "Formulas"
m |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 31: | Line 31: | ||
If target is less than 55% the size of the attacker: | If target is less than 55% the size of the attacker: | ||
− | <code>0.80 * ( 0.304 * ((Target Size/Attacker Size) ^ 2) - 0.227 * Target Size/Attacker Size + 0.048) * Attacker Size | + | <code>0.80 * ( 0.304 * ((Target Size/Attacker Size)^2) - 0.227 * Target Size/Attacker Size + 0.048) * Attacker Size</code> |
If target is greater than or equal to 55% but less than 75% the size of the attacker: | If target is greater than or equal to 55% but less than 75% the size of the attacker: | ||
− | <code>0.80 * (0.154 * | + | <code>0.80 * (0.154 * (Target Size/Attacker Size) - 0.069 * Target Size/Attacker Size) * Attacker Size</code> |
For 75% and up: | For 75% and up: | ||
− | <code>0.80 * (0.129 * | + | <code>0.80 * (0.129 * (Target Size/Attacker Size) - 0.048 * Target Size/Attacker Size) * Attacker Size</code> |
=== Land Generation === | === Land Generation === | ||
Line 45: | Line 45: | ||
The amount of acres gained by the attacker is twice the amount conquered. | The amount of acres gained by the attacker is twice the amount conquered. | ||
− | <code>Land Conquered * | + | <code>Land Conquered * 2</code> |
== Prestige == | == Prestige == | ||
Line 56: | Line 56: | ||
* Only generated on successful invasions where Land Ratio > 75%. | * Only generated on successful invasions where Land Ratio > 75%. | ||
− | |||
* Prestige cannot exceed your land size when prestige is added. | * Prestige cannot exceed your land size when prestige is added. | ||
− | |||
=== Prestige Loss === | === Prestige Loss === |
Latest revision as of 14:54, 16 October 2021
This is just a collection of formulas for easy reference. It's highly recommended that you read the corresponding article to understand conditions or criteria when the formula may deviate.
Construction[edit]
Construction costs platinum and lumber.
Platinum Cost[edit]
850+([Total Land]-250)*1.53
Lumber Cost[edit]
88+([Total Land]-250)*0.35
Espionage and Magic[edit]
There are two formulas which determine the chance of success for espionage ops and offensive magic spells.
Info Ops[edit]
0.8 ^ (2 / ((Your Ratio / Defender Ratio) * 1.4) ^ 2))
Black Ops[edit]
0.8 ^ (2 / ((Your Ratio / Defender Ratio) * 1.2) ^1.2))
Land Gains[edit]
Land conquered by attacker (and lost by target) during invasion is calculated according to this formula.
If target is less than 55% the size of the attacker:
0.80 * ( 0.304 * ((Target Size/Attacker Size)^2) - 0.227 * Target Size/Attacker Size + 0.048) * Attacker Size
If target is greater than or equal to 55% but less than 75% the size of the attacker:
0.80 * (0.154 * (Target Size/Attacker Size) - 0.069 * Target Size/Attacker Size) * Attacker Size
For 75% and up:
0.80 * (0.129 * (Target Size/Attacker Size) - 0.048 * Target Size/Attacker Size) * Attacker Size
Land Generation[edit]
The amount of acres gained by the attacker is twice the amount conquered.
Land Conquered * 2
Prestige[edit]
Prestige is gained and lost using two different formulas.
Prestige Gain[edit]
60 * Land Ratio
- Only generated on successful invasions where Land Ratio > 75%.
- Prestige cannot exceed your land size when prestige is added.
Prestige Loss[edit]
Prestige * 0.05
Prestige Bonus to OP[edit]
OP bonus is multiplicative, meaning it is added to OP bonuses like any other bonus.
Bonus + Prestige / 10000
Prestige Bonus to Population and Food[edit]
Population and food production bonus from prestige is multiplicative.
Bonus * (1 + Prestige / 10000)
Rezone[edit]
The cost of rezoning is determined by the following formula.
(Land - 250) * 0.6 + 250