Here is my code for the area effect, called expansion of faith, and which intends to increase velocity of conversion by priest to all units by 500%:
Code: Select all
//------------------------------------------------
ELPARDO (EPOCH 7)
POWER: FAITH EXPANSION, VELOCITY OF CONVERSION IS INCREASED BY 500 %
//------------------------------------------------
//THIS EFFECT SIMULATES QUICK EXPANSION OF SPANISH EMPIRE DUE TO FAITH STRENGTH AND EVANGELISATION
DbAreaEffectInfo FaithExpansion
{
name = tx_warea_faithexpansion_name
desc = tx_warea_faithexpansion_desc
effects = [
EffectFaithExpansion {
range = Global_Unit
mask = Priests
player = Self
targetPlayer = All
//velocity of conversion
velocity = 5
}
]
}
Added after 3 minutes 52 seconds:
My effect is very simple, but I don't intend anything more complex.