I want a unit to cast a strong nova when he reaches 10 mana, damaging all surrounding enemy units, atm I got this trigger:
-
Events
-

Unit - Prince Davan Denerthor 0000 <gen>'s mana becomes Equal to 10.00
-
-
Conditions
-
Actions
-

Unit Group - Pick every unit in (Units within 100.00 of (Position of Prince Davan Denerthor 0000 <gen>) matching ((Owner of (Picked unit)) Equal to Neutral Hostile)) and do (Actions)
-


Loop - Actions
-



Unit - Cause Prince Davan Denerthor 0000 <gen> to damage (Picked unit), dealing 100000.00 damage of attack type Spells and damage type Normal
-



Special Effect - Create a special effect attached to the origin of Prince Davan Denerthor 0000 <gen> using Holy Nova.mdx
-



Set Davan_10_mana = (Last created special effect)
-



Unit - Set mana of Prince Davan Denerthor 0000 <gen> to 0.00
-



Wait 2.00 seconds
-



Special Effect - Destroy Davan_10_mana
-
-
-












