Lifee
New Member
- Reaction score
- 46
Hi i tryed to make a spell,the 1st trigger works fine,but the second one isnt activated @
Check the first :
And the second one :
Check the first :
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)
- Set Omni_enemy_spec_effect = (Last created special 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)
- Set Omni_ally_spec_effect = (Last created special effect)
- Countdown Timer - Start Omni_Timer as a One-shot timer that will expire in 10.00 seconds
- Events
And the second one :
Trigger:
- Omnipotentus 2
- Events
- Time - Omni_Timer expires
- 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)
- Special Effect - Destroy Omni_ally_spec_effect
- Special Effect - Destroy Omni_enemy_spec_effect
- Custom script: call DestroyGroup(udg_Omnipotentus_Praesentia_Group)
- Custom script: call DestroyGroup(udg_Omni_Enemy_Group)
- Events