1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    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