xienwolf
Deity
You have to stand on the Pool of Tears to cure Enervation.
The AI doesn't understand upgrading their Adepts to Mages/Archmages, so they are blocked from spells that require Channeling 2/3 (unless they are Sheaim). They can use Adept & Religious unit spells well. If you want them to use spells fully, Xienwolf has a modmod you can download to give the AI a cheat to make them.
def spellInquisition(caster):
pPlot = caster.plot()
pCity = pPlot.getPlotCity()
pPlayer = gc.getPlayer(caster.getOwner())
StateBelief = gc.getPlayer(pCity.getOwner()).getStateReligion()
iRnd = CyGame().getSorenRandNum(4, "Bob")
if StateBelief == gc.getInfoTypeForString('RELIGION_THE_ORDER'):
iRnd = iRnd - 1
for iTarget in range(gc.getNumReligionInfos()):
if (not StateBelief == iTarget and pCity.isHasReligion(iTarget) and not pCity.isHolyCityByType(iTarget)):
pCity.setHasReligion(iTarget, False, True, True)
iRnd = iRnd + 1
for i in range(gc.getNumBuildingInfos()):
if gc.getBuildingInfo(i).getPrereqReligion() == iTarget:
pCity.setNumRealBuilding(i, 0)
if iRnd >= 1:
pCity.changeHurryAngerTimer(iRnd)
if iProjectType == gc.getInfoTypeForString('PROJECT_PURGE_THE_UNFAITHFUL'):
pPlayer = gc.getPlayer(pCity.getOwner())
for i in range(pPlayer.getNumCities()):
iRnd = CyGame().getSorenRandNum(2, "Bob")
pCity2 = pPlayer.getCity(i)
StateBelief = pPlayer.getStateReligion()
if StateBelief == gc.getInfoTypeForString('RELIGION_THE_ORDER'):
iRnd = iRnd - 1
for iTarget in range(gc.getNumReligionInfos()):
if (StateBelief != iTarget and pCity2.isHasReligion(iTarget) and pCity2.isHolyCityByType(iTarget) == False):
pCity2.setHasReligion(iTarget, False, True, True)
iRnd = iRnd + 1
for i in range(gc.getNumBuildingInfos()):
if gc.getBuildingInfo(i).getPrereqReligion() == iTarget:
pCity2.setNumRealBuilding(i, 0)
if iRnd > 0:
pCity2.setOccupationTimer(iRnd)