1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Estatic ModifierType is acting permanent without setting the flag to true.

Discussion in 'Mod Creation Help' started by Angryr, Jul 25, 2018.

  1. Angryr

    Angryr Chieftain

    Jul 12, 2014
    Indiana, USA
    Hello, I'm using the ModifierType, 'MODIFIER_PLAYER_CITIES_ADJUST_HAPPINESS_YIELD', from the DynamicModifiers table to add 5% to all non-food yields when a policy card is active.

    Unfortunately, what happens is that it applies permanently when you activate the policy and applies again if you remove and re-add the policy card.

    Both the 'Permanent' and 'RunOnce' flags in the Modifiers table are set to 0. Does anyone know a way to make this apply only when the card is active?

Share This Page