Now this spell is tricky for me.
For those who don't know :
Evocation is a channeling spell which channeled for maximum of 8 seconds increases caster's mana regeneration by 1500%.
So what I did was:
1. Making a spell Evocation [Mage] based of Tranquility, lasting 8 seconds, healing nothing.
2. Making Dummy Spell Evocation Effect [Mage - Dummy] based of Brilliance Aura with Mana Regeneration Increase set to "1500" and Percent Bonus to "True" (does this make units gain 1500% more mana?) and Area of Effect set to "1" (This makes only units at exact same position get the buff right?)
3. And then having such trigger :
The above won't work :/. And when the dummy is supposed to be created there's a lag. Can this be avoided? Any suggestions how to make the spell work?
For those who don't know :
Evocation is a channeling spell which channeled for maximum of 8 seconds increases caster's mana regeneration by 1500%.
So what I did was:
1. Making a spell Evocation [Mage] based of Tranquility, lasting 8 seconds, healing nothing.
2. Making Dummy Spell Evocation Effect [Mage - Dummy] based of Brilliance Aura with Mana Regeneration Increase set to "1500" and Percent Bonus to "True" (does this make units gain 1500% more mana?) and Area of Effect set to "1" (This makes only units at exact same position get the buff right?)
3. And then having such trigger :
Evocation
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Evocation [Mage]
Actions
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees.
Unit - Add Evocation Effect [Mage - Dummy] to (Last created unit)
Wait until ((Ability being cast) Not equal to Evocation [Mage]), checking every 0.50 seconds
<<No I don't really know what condition should I make to ensure that this effect will run only as long as the spell is being chanelled>>
Unit Group - Pick every unit in (Units within 1.00 of (Position of (Triggering unit)) matching ((Unit-type of (Triggering unit)) Equal to Dummy)) and do (Actions)
Loop - Actions
Unit - Remove (Matching unit) from the game
<<The above is just supposed to remove the dummy unit. I can't remove last created unit cuz the trigger runs for some time, so some other unit may be created during this time>>
The above won't work :/. And when the dummy is supposed to be created there's a lag. Can this be avoided? Any suggestions how to make the spell work?