Hi,
I have encountered a problem while i was creating my map. I wanted to create a spell that did damage over time on a unit and slow their attack speed. Well that is simple enough. The catch is that I want the Debuff to "transmit" to another unit in a certain AoE upon the death of the previously affected target (much like the Dark Channel ability in Mass Effect 3 if someone know that game). My problem is that i don't know how to detect, upon death, if the unit had the debuff in order to create another dummy caster and re-cast the spell on another random unit near the dying one.
Can someone help me solving this problem, possibly using GUI triggers (because i don't know how to write code in Jass) ?
Thanks in advance and sorry for my bad English.
I have encountered a problem while i was creating my map. I wanted to create a spell that did damage over time on a unit and slow their attack speed. Well that is simple enough. The catch is that I want the Debuff to "transmit" to another unit in a certain AoE upon the death of the previously affected target (much like the Dark Channel ability in Mass Effect 3 if someone know that game). My problem is that i don't know how to detect, upon death, if the unit had the debuff in order to create another dummy caster and re-cast the spell on another random unit near the dying one.
Can someone help me solving this problem, possibly using GUI triggers (because i don't know how to write code in Jass) ?
Thanks in advance and sorry for my bad English.