- Joined
- Nov 27, 2018
- Messages
- 2
Hello,
this is my first post here, i hope the solution has not been posted somewhere already, i gave the search a try and found nothing.
The Spell is supposed to be a single-target DOT (I used Unholy Frenzy) that infects another enemy unit in the area if the unit dies while under the effect of the DOT.
I first put the target of the spell into a group called Corrupted. I also check for 4 different spells, the first one being the original Corruption(the Hero-Ability made from Unholy Frenzy).
The other three are the different Levels of normal abilities for the Dummy who will cast them.
If so, the Dummy comes into play and should cast his Version of Corruption on a nearby target.
I used to have the Dummy-Corruption-Abilities based off Unholy Frenzy as well and it kinda worked.
Only kinda because the dummy would always cast the "wandering" Corruption on the Hero.
So the whole "add unit to group-business" should be working.
I thought, since Unholy Frenzy is probably prioritized for friendlies, since it was thought of as a Buff, that's why it backfires on the Hero. So i changed it and based it off of Parasite.
Since then it doesn't work anymore and I can't figure out why.
Thanks for any Help in advance.
this is my first post here, i hope the solution has not been posted somewhere already, i gave the search a try and found nothing.
The Spell is supposed to be a single-target DOT (I used Unholy Frenzy) that infects another enemy unit in the area if the unit dies while under the effect of the DOT.
I first put the target of the spell into a group called Corrupted. I also check for 4 different spells, the first one being the original Corruption(the Hero-Ability made from Unholy Frenzy).
The other three are the different Levels of normal abilities for the Dummy who will cast them.
-
Corrupted Group
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Ability being cast) Equal to Corruption
-
(Ability being cast) Equal to Corruption
-
(Ability being cast) Equal to Corruption II
-
(Ability being cast) Equal to Corruption III
-
-
-
-
Actions
-
Unit Group - Add (Target unit of ability being cast) to Corrupted
-
-
If so, the Dummy comes into play and should cast his Version of Corruption on a nearby target.
-
Corruption
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Dying unit) Equal to (Random unit from Corrupted)
-
-
Actions
-
Unit - Create 1 Dummy Corruption for (Triggering player) at (Position of (Dying unit)) facing Default building facing degrees
-
Unit - Order (Last created unit) to Neutral - Parasite (Random unit from (Units within 512.00 of (Position of (Dying unit)) matching (((Target unit of issued order) belongs to an enemy of Player 1 (Red)) Equal to True)))
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit Group - Remove (Dying unit) from Corrupted
-
-
I used to have the Dummy-Corruption-Abilities based off Unholy Frenzy as well and it kinda worked.
Only kinda because the dummy would always cast the "wandering" Corruption on the Hero.
So the whole "add unit to group-business" should be working.
I thought, since Unholy Frenzy is probably prioritized for friendlies, since it was thought of as a Buff, that's why it backfires on the Hero. So i changed it and based it off of Parasite.
Since then it doesn't work anymore and I can't figure out why.
Thanks for any Help in advance.