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!
Hello guys I just wanna ask how the immolation spell will drain HP instead of mana and also upon activation of the spell. I want to create a hero in my map that uses HP to cast his spells. I would be greatful if someone could show me how.
Just trigger the hp loss.
Events: "A unit starts the effect of an ability"
Conditions: ability being cast = DzIsSoHawt
Actions:
Unit - Cause Triggering unit to damage Triggering unit for 100 hp.
Or create a dummy unit that does the damage if the triggering unit can't damage himself. He should be able tho.
What I mean is the hero's HP will be drained when immolation is on and it will cost him a HP upon activation too, the effects are still the same nearby enemy units will receive damage per second. So basically the only thing that needed to be change is the mana cost and drained mana into HP cost and drained HP. Also should It be MUI too in order for the spell to work when many instances, even though only the mana cost and mana drained are change via triggers?
To be honest what Imperator and LordDz told you should work, just combine them. There is no need to complicate things by using triggers to remove mana cost when you can do it in object editor without risk.
Just make changes in Object editor like Imperator said and you get no mana cost and hero is damaged. Then do what LordDz told you and then hero will first lose 100 hp when he casts spell.
If the HP Drain is the same as the immolation damage, just check 'Self' in Targets Allowed of immolation ability. If you want the hp drain different to the damage, do something like this
Altered Immolation HP Drain
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in immolationCasters and do (Actions)
Loop - Actions
Unit - Cause (Picked unit) to damage (Picked unit), dealing 5.00 damage of attack type Spells and damage type Magic
For the HP required in Activating the spell, follow what LordDz suggested
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.