The basic idea is that I've cast "Enchant city for SOMETHING." After the initial casting effect, I want some effect to linger that tells the user "Hey, this city is enchanted!" When they cancel the enchantment, I want the effect to stop. The bonuses and whatnot aren't the issue - it's the visual effects. (In the SpellDef, GameModifers only last while the enchanment is maintained when you set the GameModifier.Duration to -1).
Unfortunately, with the SpellDef.SpellDefEffect, I can't seem to find anything that will allow an effect to last just until the enchantment is over. I tried pointing the SpellDef.EffectName at an Effect that had been marked as "RepeatIndefinite," but the effect lingered after I'd cancelled the enchantment. I've tried guessing various attribute names (like Duration, EffectDuration, etc) in SpellDefEffect to see if I can't find something that'll work, and I'm pretty sure I've looked through most of the existing special abilities and spells, but I haven't been able to find a place where they make an effect "semi-permanent," though there were a great many places where environment or terrain was changed permanently.
The closest I found was a GameModifier with the "CreateWorldProp" Attribute, but that didn't seem to work when the target tile has something in it already (a city, in this case).
Anyone else have any ideas on this one?
Gnilbert