whoward69
DLL Minion
Current situation
- code is in CvDiplomacyAIHelpers:: ApplyWarmongerPenalties() and CvDiplomacyAIHelpers:: GetWarmongerOffset()
Consider six major civs, A thru F, on a single long thin landmass. Each major has only met their immediately adjacent neighbour(s), ie, A has only met B, B has met A and C, C has met B and D, D has met C and E, E has met D and F, and F has only met E
C declares war on D and captures one of D's cities, the following warmonger penalties are applied
Problems with the current situation
There is no consideration of ...
(The modded DLL currently has a lot of adjustments for World Congress resolutions, but these only apply late game and when passed.)
- code is in CvDiplomacyAIHelpers:: ApplyWarmongerPenalties() and CvDiplomacyAIHelpers:: GetWarmongerOffset()
- Warmonger penalties only apply between majors, but are applied if a major captures a major or minor city
- Penalties are applied only to majors that the attacker has met
- Penalty is halved if the 3rd party major is also at war with the defending player
- Penalty for capturing a major city is the same as for a minor city
- Penalty is divided by the number of cities left in the defenders empire
- Warmonger decay is a fixed amount per turn
Consider six major civs, A thru F, on a single long thin landmass. Each major has only met their immediately adjacent neighbour(s), ie, A has only met B, B has met A and C, C has met B and D, D has met C and E, E has met D and F, and F has only met E
C declares war on D and captures one of D's cities, the following warmonger penalties are applied
- A gets no warmonger adjust against C
- B gets a warmonger adjust against C
- D gets a warmonger adjust against C (obviously!)
- E gets no warmonger adjust against C
- F gets no warmonger adjust against C
Problems with the current situation
There is no consideration of ...
- Civs the defender has met
- DefPact agreement(s)
- the aggressor
- joint wars (ie "will you go to war with me against ...")
- approach between the 3rd party major and the warring majors
- capturing a major or minor city
- the size of the city captured
- for capturing the capital.
- approach between players on the decay rate
(The modded DLL currently has a lot of adjustments for World Congress resolutions, but these only apply late game and when passed.)