The oligarchy combat bonus gives +4 strength to melee units (which after testing actually includes anti-cavalry units like spearmen, not sure about cavalry, but probably. It definitely does not buff ranged units like archers.) but after looking at the SQL tables I can't actually see how this is accomplished in the base game.
It uses a 2part modifier:
1) ModifierId OLIGARCHY_MELEE is of ModifierType MODIFIER_PLAYER_UNITS_GRANT_ABILITY. The ability granted in the ModifierArguments is ABILITY_OLIGARCHY_MELEE_BUFF, which has a ModifierId of,
2) OLIGARCHY_MELEE_BUFF, which is of ModifierType MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH, and which adjusts Amount by 4 in its ModifierArguments.
Neither of these 2 Modifiers have an OwnerRequirementSetId or SubjectRequirementSetId, and they have no arguments specifiying what unit the bonus is applied to.
So how would I go about, for example, causing oligarchy to only give PROMOTION_CLASS_RANGED units +4 combat strength?
I screenshotted an inner join showing all the relevant table columns in case my explanation is confusing.
http://imgur.com/a/OyMJ1
Thanks in advance.
It uses a 2part modifier:
1) ModifierId OLIGARCHY_MELEE is of ModifierType MODIFIER_PLAYER_UNITS_GRANT_ABILITY. The ability granted in the ModifierArguments is ABILITY_OLIGARCHY_MELEE_BUFF, which has a ModifierId of,
2) OLIGARCHY_MELEE_BUFF, which is of ModifierType MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH, and which adjusts Amount by 4 in its ModifierArguments.
Neither of these 2 Modifiers have an OwnerRequirementSetId or SubjectRequirementSetId, and they have no arguments specifiying what unit the bonus is applied to.
So how would I go about, for example, causing oligarchy to only give PROMOTION_CLASS_RANGED units +4 combat strength?
I screenshotted an inner join showing all the relevant table columns in case my explanation is confusing.
http://imgur.com/a/OyMJ1
Thanks in advance.
Last edited: