• 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.

Metamorph giving me headache...

Status
Not open for further replies.
Level 9
Joined
May 31, 2010
Messages
366
Hey,

after i tried like 5 hours to make it work that when my hero uses metamorph (demonhunter ult) i remove all his abilities, add new abilities to him, and when it ends reverse that (actually the game tracks the end of morph as another cast and that was seriously screwing up my sunday -.-).

now im facing another problem, when my hero has 100/2000 health at the time he morphes, and gets healed during morph to 1500/2000 health, shortly (about 3-5 seconds) after moprh ends, he has his health reset to 100/2000 .......
i seriously tried for 2 hours to find a solution for that .. all that i can think of would be to nail down the time and store his health in a var 0.01 sec before and then set his life to the stored value 0.01 sec after, but if he gets hit during that small gap he is dead even if he should have full life ...
maybe one of you has an solution for me


Edit: nvm im an idiot - thats what happens when u pick up and try to rework an years old hero, you miss out that u made a few triggers for it already -_-
 
Last edited:
Status
Not open for further replies.
Top