xericho
New Member
- Reaction score
- 0
Im doing the a spell which is kinda like zeus' wrath from Dota, it does damage all the heroes in the map, but the problem is it also damages the caster
tell me whats wrong with this trigger.
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Picked unit) belongs to an enemy of (Owner of Caster)) Equal to True)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A Hero) Equal to True
Then - Actions
Unit - Cause Caster to damage (Picked unit), dealing (180.00 x (Real((Level of Crush for TC_Caster)))) damage of attack type Spells and damage type Normal
tell me whats wrong with this trigger.
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Picked unit) belongs to an enemy of (Owner of Caster)) Equal to True)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A Hero) Equal to True
Then - Actions
Unit - Cause Caster to damage (Picked unit), dealing (180.00 x (Real((Level of Crush for TC_Caster)))) damage of attack type Spells and damage type Normal