• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

fireflutterpony

Recruit
2 Badges
May 30, 2013
7
0
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
Alright, I did a little research on how to design spells to cause an effect on all cities or all units of a faction.

It's a two-step process - the spell gives the faction a perk, and the perk creates an effect on all appropriate targets under that faction's control.

ALL CITIES

Create the perk first.
Set TYPE to Faction and APPLY AT to Own Faction.

I haven't tested all the effect types you can add, but what each one does is pretty straightforward. ModifyBuildingProductionPercent is the one that lets you create effects like Mana Spring or Harvest Blessing.

The spell is easy - set TARGET FILTER to Own Faction, set SPELL ENCHANTMENT to the perk you just made.

ALL UNITS

Perk first, again.
Set TYPE to Faction, APPLY AT to Faction Unit.
Add Effects for whatever you want the spell to give.
Spell is easy again - TARGET FILTER Own Faction, SPELL ENCHANTMENT set to your perk.

Note that while your units will be under the effects you specify, there won't be any perk indicators on their unit UI, because the perk is actually on your faction leader, not the individual units. It would be rather nice if at some point, we got an Effect that let us give out other perks to units - I know nesting a perk inside a perk like that is a bit ugly, but it would be nice for people to be able to see the effect of these mass spells on their units.

I hope this saves others the time I spent testing these effects.