Flamesword
New Member
- Reaction score
- 0
I'm trying to make an ability that poisons targets within a radius of a unit. I used "Fan of Knives" as a base, and am trying to use a dummy unit to do the poison damage. I added "Envenomed Spears" to the dummy unit, and tried using this trigger to make him attack the targets, thereby adding the poison damage.
Events
Unit - Eco Knight begins casting an ability
Conditions
(Ability being cast) Equal to Nature's Wrath
Actions
Pick every unit in (Units within 400 of (Position of Eco Knight)) and do (Actions)
Loop - Actions
If - ((Picked Unit) belongs to an enemy of Player 7)
Then - Order Eco Knight Dummy to Attack Once (Picked Unit)
Else - Do nothing
I made my Dummy visible to see what he was doing during testing, but he doesn't attack anyone. I don't see any flaws in this trigger, or is there likely some effect I put in the dummy unit himself that keeps all of this from working the way I want to?
On a side note, I've noticed there is some way to add little windows to these messages that can properly display trigger text. Can anyone tell me how to do that too?
Events
Unit - Eco Knight begins casting an ability
Conditions
(Ability being cast) Equal to Nature's Wrath
Actions
Pick every unit in (Units within 400 of (Position of Eco Knight)) and do (Actions)
Loop - Actions
If - ((Picked Unit) belongs to an enemy of Player 7)
Then - Order Eco Knight Dummy to Attack Once (Picked Unit)
Else - Do nothing
I made my Dummy visible to see what he was doing during testing, but he doesn't attack anyone. I don't see any flaws in this trigger, or is there likely some effect I put in the dummy unit himself that keeps all of this from working the way I want to?
On a side note, I've noticed there is some way to add little windows to these messages that can properly display trigger text. Can anyone tell me how to do that too?