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)
The forum software says we have 554 members online now. We did not have that many unique visitors the whole day today. Too many bots and the disconnect between the forum counts and the stats.