I'm trying to make an ability that attacks all units on the map that have a specific buff.
Been trying to do it my self but i get lost with the variables.
The buff is frigid winds, but i dont know how to set the variable to target units with that buff
Been trying to do it my self but i get lost with the variables.
Code:
IcyTempest
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Icy Tempest
Actions
Set FrigidWindBuff = Frigid Winds
Set FrigidWindsLoc = (Position of (Matching unit))
The buff is frigid winds, but i dont know how to set the variable to target units with that buff