this line is wrong:
-
Unit Group - Pick every unit in (Units within 99.00 of (Position of Dummy_Unit) matching (((Picked unit) is in (Units owned by Player 12 (Brown))) Equal to True)) and do (Unit - Cause Hero 0001 <gen> to damage (Picked unit), dealing 100.00 damage of attack type Hero and damage type Normal)
after the word matching u must define the matching unit like this:
Unit Group - Pick every unit in (Units within 99.00 of (Position of Dummy_Unit) matching (((
Matching unit) is in (Units owned by Player 12 (Brown))) Equal to True)) and do (Unit - Cause Hero 0001 <gen> to damage (Picked unit), dealing 100.00 damage of attack type Hero and damage type Normal)
so it is
-
Unit Group - Pick every unit in (Units within 99.00 of (Position of Dummy_Unit) matching (((Matching unit) is in (Units owned by Player 12 (Brown))) Equal to True)) and do (Unit - Cause Hero 0001 <gen> to damage (Picked unit), dealing 100.00 damage of attack type Hero and damage type Normal)