I am having trouble making a spell where when used the hero explodes and dies and deals 100xlevel of ability+100 to all units in 100 of the hero.
I tried this
Fatal Error
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fatal Error
Actions
Unit Group - Pick every unit in (Units within 100.00 of (Position of (Triggering unit)) matching (((Matching unit) is alive) Equal to True)) and do (Unit - Cause (Triggering unit) to damage (Picked unit), dealing (((Real((Level of Fatal Error for (Triggering unit)))) x 100.00) + 100.00) damage of attack type Spells and damage type Normal)
Unit - Explode (Casting unit)
Fatal Error Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Fatal Error Actions Unit Group - Pick every unit in (Units within 100.00 of (Position of (Triggering unit)) matching (((picked unit) is alive) Equal to True)) and do (Unit - Cause (Triggering unit) to damage (Picked unit), dealing (((Real((Level of Fatal Error for (Triggering unit)))) x 100.00) + 100.00) damage of attack type Spells and damage type Normal) Unit - Explode (last created unit) Don't forget to create the dummy! If this doesn't work there is still another way -_-
Fatal Error Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Fatal Error Actions Unit Group - Pick every unit in (Units within 100.00 of (Position of (Casting Unit)) matching (((Matching unit) is alive) Equal to True)) and do (Unit - Cause (Casting unit) to damage (Picked unit), dealing (((Real((Level of Fatal Error for (Casting unit)))) x 100.00) + 100.00) damage of attack type Spells and damage type Normal) Unit - Explode (Casting unit)