Events
Unit - Any Unit uses <c val="808080">S</c><c val="727272">o</c><c val="646464">u</c><c val="555555" at Generic1 - Any stage (Ignore shared abilities)
Local Variables
Area = (Units in (Region(((Position of (Triggering unit)) offset by 0.0 towards (Facing of (Triggering unit)) degrees), 10.0)) having alliance Enemy with player (Owner of (Triggering unit)) matching Excluded: Missile, Dead, Hidden, with at most Any Amount) <Unit Group>
Conditions
Actions
Unit Group - Pick each unit in Area and do (Actions)
Actions
Unit - Set (Picked unit) Life to (((Picked unit) Life (Current)) - (Real((Agility Shadow count for player (Owner of (Triggering unit)), counting Complete))))
Actor - Attach ProtossFlameSetFireLarge (Unnamed) to Center on (Picked unit)
I want this ability - when casted - instantly damages an AoE just in front of the casting unit based on the amount of behavior "agility" while filtering out itself, allied units, invulerable, and etc.. The problem is, It doesn't deal the exact amount of number of "agility" i have on my hero.
P.S. can someone enlighten me on the measurement 'units'? I don't really know how to control my radius, and how far distances are.
Attack2
Events Unit - Any Unit uses <c val="808080">S</c><c val="727272">o</c><c val="646464">u</c><c val="555555" at Generic1 - Any stage (Ignore shared abilities)
Local Variables Area = (Units in (Region(((Position of (Triggering unit)) offset by 0.0 towards (Facing of (Triggering unit)) degrees), 10.0)) having alliance Enemy with player (Owner of (Triggering unit)) matching Excluded: Missile, Dead, Hidden, with at most Any Amount) <Unit Group>
Conditions
Actions Unit Group - Pick each unit in Area and do (Actions) Actions Unit - Set (Picked unit) Life to (((Picked unit) Life (Current)) - (Real((Agility Shadow count for player (Owner of (Triggering unit)), counting Complete)))) Actor - Attach ProtossFlameSetFireLarge (Unnamed) to Center on (Picked unit)
I want this ability - when casted - instantly damages an AoE just in front of the casting unit based on the amount of behavior "agility" while filtering out itself, allied units, invulerable, and etc.. The problem is, It doesn't deal the exact amount of number of "agility" i have on my hero.
P.S. can someone enlighten me on the measurement 'units'? I don't really know how to control my radius, and how far distances are.