Scotty
New Member
- Reaction score
- 4
quick question, how can i have a trigger check whether a unit, or units in an area have a certain buff or not so i can do if, then else,
Basically what i;m looking to do:
unit starts casting an ability that does massive aoe damage
sheilds spawn in random area around the caster (dummy with appropriate medel file and scale aswell as a `sheild` aura)
unit finishes casting his attack, if the units in the aoe have the sheild aura buff tehy take minor damage, if they do not they take major damage, i have the spell and the dummies, the ability is basically a thunderclap with large aoe and long cast time, but it does 0 damage and instead the casting unit does the damage through triggers, how would i make the trigger check each unit within the area to see if they have the buff and if they do, do different damage?
Basically what i;m looking to do:
unit starts casting an ability that does massive aoe damage
sheilds spawn in random area around the caster (dummy with appropriate medel file and scale aswell as a `sheild` aura)
unit finishes casting his attack, if the units in the aoe have the sheild aura buff tehy take minor damage, if they do not they take major damage, i have the spell and the dummies, the ability is basically a thunderclap with large aoe and long cast time, but it does 0 damage and instead the casting unit does the damage through triggers, how would i make the trigger check each unit within the area to see if they have the buff and if they do, do different damage?