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

Apply modifier only in holy cities?

Discussion in 'Mod Creation Help' started by Imnimo, Dec 16, 2017.

  1. Imnimo

    Imnimo Chieftain

    Joined:
    Dec 3, 2017
    Messages:
    33
    Gender:
    Male
    I'm trying to set up a leader ability that applies a modifier in holy cities, but I can't seem to find any hooks in the modifiers or requirements files that reference holy cities (except for Jerusalem's MODIFIER_PLAYER_TREAT_CAPITAL_AS_HOLY_CITY, which doesn't really help me here).

    Is there a way to check whether a city is a holy city via requirements, or by some other modifier? If not, how difficult would be it be to create such a requirement via Lua?
     

Share This Page