Angel_Island
Much long, many time, wow
- Reaction score
- 56
For MUI you can use this trigger:
Your spell must add a buff for this to work.
EDIT: Forgot to make it leakless.
Trigger:
- Untitled Trigger 001
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Set Group = (Units in (Playable map area) matching (((Matching unit) has buff Buff) Equal to True))
- Unit Group - Pick every unit in Group and do (Actions)
- Loop - Actions
- Set PickedUnit = (Picked unit)
- Set PickedUnitPosition = (Position of PickedUnit)
- Set Group2 = (Units within 500.00 of PickedUnitPosition matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of (PickedUnit))) Equal to True) and ((Matching unit) Not equal to (PickedUnit)))))
- Unit Group - Pick every unit in Group2 and do (Actions)
- Loop - Actions
- Unit - Cause PickedUnit to damage (Picked unit), dealing (450.00 + ((Real((Strength of PickedUnit (Include bonuses)))) x 0.50)) damage of attack type Hero and damage type Universal
- Loop - Actions
- Loop - Actions
- Custom script: call DestroyGroup(udg_Group)
- Custom script: call DestroyGroup(udg_Group2)
- Custom script: call RemoveLocation(udg_PickedUnitPosition)
- Events
Your spell must add a buff for this to work.
EDIT: Forgot to make it leakless.