I found out last night that I had to work today, so I have not had time to get back to modding yet. I suppose it did not matter through, as Tholal does not seem to have released the new beta which I was hoping to merge today. My new update won't come out until at least a few hours after his.
The last part was to show that Raiders civ would still gain something from the spell even if Arcane/Disciple units were supported.
Some questions:
Who is the gay that can be ressurected with Sorcery? He is after Lucian and before Wilboman in the list of possible ressurections in Life 3 promotion description.
I have no evidence of his sexual orientation, but I believe you are referring to Gaelan.
He is a mage-hero who at one point was tied to FfH2's short lived Guild system, but now can only be created through choosing the right options in a series of random events.
In this mod I made it so that Gaelan starts with Chaos 3, and so can cast Wonder despite not having the Channeling 3 promotion
EVENT_CIRCLE_OF_GAELAN_1
The guildmaster of the mage guild in %s2_city asks for your help with a problem student. This student insists on trying wild theories that the guildmaster suspects could be quite dangerous, even if correct.
EVENT_CIRCLE_OF_GAELAN_1_1
I will trust the judgment of the guildmaster. Exile the willful apprentice!
(This has no effect other than to prevent the series of events from continuing, and thus making Gaelan unavailable.)
EVENT_CIRCLE_OF_GAELAN_1_2
Your conservative approach to magic is getting us nowhere! This apprentice will be promoted to guildmaster, let him try his theories!
(This option gives 2 :research: from the mage guild, and enables the next event in the series leading to Gaelan.)
EVENT_CIRCLE_OF_GAELAN_2
Citizens in %s2_city are worried about strange occurrences. Livestock are dying without cause, and some of the town wells have dried up. They suspect the mage guild is carrying out dangerous experiments!
EVENT_CIRCLE_OF_GAELAN_2_1
Then we will destroy the mage guild!
(This eliminates the research bonus from the previous event and prevents the series of events from continuing, thus making Gaelan unavailable.)
EVENT_CIRCLE_OF_GAELAN_2_2
Cranky citizens are the price of progress!
(This increases the bonus by another +1 :research: but also causes +1 :unhappy: and allows the following event to occur)
EVENT_CIRCLE_OF_GAELAN_3
Your tax collectors stumbled upon a disturbing scene in the mage guild in %s2_city! Townspeople have been abducted and experimented on! The guildmaster, Gaelan, offers to spread his teachings and increase the power of your mages if you let him continue, but a young man trapped by the guild begs you to free him.
EVENT_CIRCLE_OF_GAELAN_3_1
Shut down this abomination!
(This reduces the mage guilds bonus by - :research: and gives you a free Ranger with the Magic Resistance promotion.)
EVENT_CIRCLE_OF_GAELAN_3_2
Very well, let's keep this between us.
(This option gives you Gaelan)
I'm thinking I might modify the results slightly now that I'm thinking about it.
How the max ranged damage is determined? Unseelie Shadow and Man O'War can kill with ranged attacks, while Flurry or longbowman cannot. Why?
It is determined by the unit's <iAirCombatLimit> tag. The default value is 0, which means it cannot do any ranged damage. The value must be changed to 100 to let ranged attacks be lethal. Of course, the unit must also have a <iAirCombat> tag value greater than 0 to have any chance of doing any damage, or of launching a ranged attack at all.
Is there any reqirements for Stir from Slumber ritual except Divine Essence tech? Nobody did it and nobody can, but almost anybody has the tech.
It has no other XML prereqs, but does have Python requirements. The ritual can only be performed in a city that has the Cult of the Dragon religion present. That is the only requirement that binds a human player, but there are further blocks to prevent an AI from completing the ritual when it would not benefit form the results. The Barbarian state can complete it (to gain Acheron, and possible Drifa and Thallath.) Cardith Lords (or any of her permanent allies) may complete it to give their team Eurabatres. Tebryn Arbandi (or his ally) may perform it to gain Abashi. If Tebryn is not in the game, then another Sheaim player (or teammate) may use the ritual for Abashi instead. Any player with the Octopus Overlords state religion may complete the ritual in order to gain Thallath. (The Blue Dragon will be raised as a Barbarian if the ritual is completed by a player without that state religion.) Once The Draw has been completed, teammates of Auric Ulvin or anyone with the White Hand state religion may complete the ritual in order to give Drifa to Auric. (If The Draw is not completed first, Drifa enters the world under Barbarian control.)