I read the guides but I still don't understand "what is meant by attaching a modifier as opposed to applying a modifier"

Tunnah

Warlord
Joined
Jun 11, 2017
Messages
112
I don't know why I'm not getting it, it just seems to be nowhere in that guide specifically mentions why sometimes you have something that can just plonk in the ModifierId, and other times you just put it straight in.

For example, doing an unit ability - you don't just create the modifier and attach it to unit abilities, you have to have a modifier that "MODIFIER_PLAYER_UNITS_GRANT_ABILITY", then in args you set the ability there
Or like in beliefs, they all have a

<ModifierId>DIVINE_SPARK_THEATER</ModifierId>
<ModifierType>MODIFIER_ALL_CITIES_ATTACH_MODIFIER</ModifierType>
<SubjectRequirementSetId>CITY_FOLLOWS_PANTHEON_REQUIREMENTS</SubjectRequirementSetId>
</Row>
<Row>
<ModifierId>DIVINE_SPARK_THEATER_MODIFIER</ModifierId>
<ModifierType>MODIFIER_SINGLE_CITY_DISTRICTS_ADJUST_GREAT_PERSON_POINTS</ModifierType>
<SubjectRequirementSetId>DISTRICT_IS_THEATER</SubjectRequirementSetId>

one with modifier, one without. I'm just really confused by it all and if there wasn't so much space up there with being so few of them, I'd be at real risk of my brain cells overheating.
 
Top Bottom