eatbeaver
New Member
- Reaction score
- 7
Why doesn't this trigger work? It is supposed to damage all units owned by player 12 in 512 range but nothing happens.
Code:
Gravitiy
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Gravity) and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units within 512.00 of (Position of (Picked unit)) matching ((Owner of (Picked unit)) Equal to Player 12 (Brown))) and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 1.00)
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Items\VampiricPotion\VampPotionCaster.mdl