Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Let's call them Feedback rockets. Just make a custom version of cluster rockets and call it feedback rockets.
Description: Fires specially designed anti-magic rockets at a target area. Enemy units in the area will be damaged, stunned, and have a portion of their mana burned away. Burned mana deals damage equal to the amount burned. Units with 20 or less mana do not have their mana burned.
Feedback Rockets
Events:
Unit - Unit begins the effect of an ability
Conditions:
Ability being cast equal to (Feedback rockets)
Actions:
Unit Group - Pick every unit within ([[the aoe of feedback rockets]] of (target point of ability being cast) matching condition (matching unit belongs to an enemy of owner of (triggering unit)) and (matching unit is alive) and (matching unit is a structure equal to false) and do actions:
Actions:
Unit - (If (mana of ((picked unit) - 20) greater than 0), then (Set mana of picked unit to (mana of (picked unit) -20)), else do nothing.
Unit - Cause (triggering unit) to damage (picked unit) for 20 damage of type spells and type spirit-link.
If you want the drained mana to go back to the caster (which doesn't make sense to me) add this action:
Actions:
(If (mana of ((picked unit) - 20) greater than 0), then (Set mana of (triggering unit) to (mana of (triggering unit) + 20)), else do nothing.
Of course you can add whatever special effects you would like to make the ability look different than regular cluster rockets.
Hmmm making the mana drain action LOOPED would be better. That way make a loop for 1 and 20 and make it drain 10 mana per loop. It would look better with some delay but I'm not so sure on how to do that delay.
Unit - Cause (casting unit) to damage (picked unit) for (100 +(Real(Stength of (casting unit)) x 2)) damage of attack type (spells) and damage type (normal).
where do i get strenght from? is it a real?? heres my trigger containing life.
Unit - Cause (Triggering unit) to damage (Triggering unit), dealing (1.00 x (Life of (Triggering unit))) damage of attack type Spells and damage type Normal
You use convert real to integer thing in the arithmetic heading on the VALUE. Also a bug. There must be some delay before the mana drain. Otherwise the rockets will burn mana
before they even reach their target. However doing so would make it hard to be MUI I guess.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.