Mine is just to fix your problem, if u want destroy the special effects, use the method suggested by others or
Trigger:
Omnipotentus Praesentia
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Omnipotentus Praesentia
Actions
Set Omnipotentus_Praesentia_Group = (Units within 900.00 of (Position of (Casting unit)) matching (((Matching unit) belongs to an ally of (Owner of (Casting unit))) Equal to True))
Set Omni_Enemy_Group = (Units within 900.00 of (Position of (Casting unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Unit Group - Pick every unit in Omnipotentus_Praesentia_Group and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 10.00)))
Unit Group - Pick every unit in Omni_Enemy_Group and do (Unit - Cause (Casting unit) to damage (Picked unit), dealing ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 5.00) damage of attack type Spells and damage type Normal)
Unit Group - Pick every unit in Omni_Enemy_Group and do (Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Items\AIta\CrystalBallCaster.mdl) and set Temp_Integer to (Temp_Integer + 1) and set Omni_enemy_spec_effect(Temp_Integer) = (Last created effect)
Unit Group - Pick every unit in Omnipotentus_Praesentia_Group and do (Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Items\StaffOfSanctuary\Staff_Sanctuary_Target.mdl) and set Omni_ally_spec_effect(Temp_Integer) = (Last created effect)
Wait 10.00 seconds
Trigger - Run Omnipotentus 2
And the second one :
Trigger:
Omnipotentus 2
Events
Conditions
Actions
Unit Group - Pick every unit in Omnipotentus_Praesentia_Group and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 10.00)))
Unit Group - Pick every unit in Omni_Enemy_Group and do (Unit - Cause (Casting unit) to damage (Picked unit), dealing ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 5.00) damage of attack type Spells and damage type Normal)
For each integer A, do 1 to (Temp_Integer)
Special Effect - Destroy Omni_ally_spec_effect(Loop A)
Special Effect - Destroy Omni_enemy_spec_effect(Loop A)
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!