• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Ultimate that reduces a Heroes health to a set amount

Status
Not open for further replies.
Level 2
Joined
Sep 22, 2017
Messages
12
So I've been trying to make a wide variety of heroes for a little gamemode I'm working on, and I had the idea for a hero that has exceptionally powerful abilities that cost him a certain amount of health. How would I go about doing that?

Say, if I were to give him a damage boosted flame strike ability that would take 60 health off of him, would I create a dummy unit that would hit the caster with a modified, missile-less spell, or is there a better way of going about this?

And for the ultimate, the spell would reduce the casting hero's health to 150 (pool, not max) in exchange for lifestealing properties to his basic attacks, plus a damage boost, for a short time, allowing him to basically earn back the health in spades if used correctly. Is there any method of doing this?
 
Level 23
Joined
Dec 4, 2007
Messages
1,558
For instant spells you would simply use triggers that set unit health to arithmetic (current health) - (x), use the event "starts the effect of an ability".
 
Status
Not open for further replies.
Top