[1.0.0.341] Owner territory bug - Cossack e.g.

Knasp

Warlord
Joined
Sep 10, 2011
Messages
266
I noticed while modding that the following requirements aren't shown to be 'Met' in the Firaxis Live Tuner:
Code:
REQUIREMENT_UNIT_IN_OWNER_TERRITORY
UNIT_ADJACENT_TO_OWNER_TERRITORY_REQUIREMENT
When I add such a Requirement to a RequirementSet, the tuner reports that the Requirement is not met.

I tested the Digger and Russian Cossack units and discovered that the latter doesn't get its bonus if it's within owner territory but the enemy is adjacent:
 

Attachments

  • unit_in_owner_territory bug.png
    unit_in_owner_territory bug.png
    3.4 MB · Views: 243
And here's a screenshot of my mod where the Requirement is said to be not met. (Note that I haven't altered the Requirement: UNIT_IN_OWNER_TERRITORY_REQUIREMENT in any way).
 

Attachments

  • requirement not met.png
    requirement not met.png
    3.5 MB · Views: 3,254
I confirm this, with test file.
My guess is that UNIT_IN_OWNER_TERRITORY_REQUIREMENT applies to enemy units.
If enemy units are in my territory, this modifier works, regardless where the cossack is.


I think REQUIREMENT_UNIT_IN_OWNER_TERRITORY and UNIT_ADJACENT_TO_OWNER_TERRITORY_REQUIREMENT work in different way.
If we're looking at Vietnamese trait, REQUIREMENT_UNIT_IN_OWNER_TERRITORY works depending on combat tile (defender's tile).
But it seems UNIT_ADJACENT_TO_OWNER_TERRITORY_REQUIREMENT works just depending on attacking unit, like Hoplite bonus. Perhaps this is not intended.

Finest Hour policy is using same requirement as Cossack.

Code:
        <Row>
            <ModifierId>FINEST_HOUR_FRIENDLY_BUFF</ModifierId>
            <ModifierType>MODIFIER_UNIT_ADJUST_COMBAT_STRENGTH</ModifierType>
            <SubjectRequirementSetId>COSSACK_PLOT_IS_OWNER_OR_ADJACENT_REQUIREMENTS</SubjectRequirementSetId>
        </Row>

I've not tested this policy yet but expect same thing.

(EDIT) Yes! So is Finest Hour!
(EDIT) Finest Hour can be exploited because Fighters can strike far away with +5 bonus if they're staying a tile adjacent border.
 

Attachments

Last edited:
Back
Top Bottom