Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Custom script: call RemoveLocation(udg_PointVariableName)
Custom script: call DestroyGroup(udg_UnitGroupVariableName)
Untitled Trigger 001

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to (==) Acid Bomb

Actions


Set TempPoint = (Target point of ability being cast)


Set tempUnitGroup = (Units within 512.00 of TempPoint matching (((Matching unit) belongs to an enemy of (Triggering player)) Equal to (==) True))


Custom script: call RemoveLocation(udg_TempPoint)


Unit Group - Pick every unit in tempUnitGroup and do (Actions)



Loop - Actions




Unit - Cause (Triggering unit) to damage (Picked unit), dealing (Real((Strength of (Triggering unit) (Include bonuses)))) damage of attack type Spells and damage type Normal


Custom script: call DestroyGroup(udg_tempUnitGroup)
