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

[Solved] "Increase level of ability for unit" increases it to the last level, instead of to the next

Status
Not open for further replies.
Level 15
Joined
Sep 6, 2015
Messages
576
  • Reincarnation
    • Events
    • Unit - Kel'Thuzad (Lich) 0149 <gen>'s life becomes Equal to 0.00
    • Conditions
    • Actions
    • Unit - Increase level of Reincarnation (Neutral Hostile) for (Triggering unit)
or
  • Reincarnation
    • Events
    • Unit - Kel'Thuzad (Lich) 0149 <gen>'s life becomes Equal to 0.00
    • Conditions
    • Actions
    • Unit - Set level of Reincarnation (Neutral Hostile) for (Triggering unit) to ((Level of Reincarnation (Neutral Hostile) for (Triggering unit)) + 1)
 
Level 15
Joined
Sep 6, 2015
Messages
576
I've found a solution:

  • Reincarnation
    • Events
    • Unit - Kel'Thuzad (Lich) 0149 <gen>'s life becomes Equal to 0.00
    • Conditions
    • Actions
    • Unit - Increase level of Reincarnation (Neutral Hostile) for (Triggering unit)
    • Trigger - Turn off (This trigger)
    • Wait 10.00 seconds
    • Trigger - Turn on (This trigger)
Thanks for help anyway.
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
Life becomes equal to value is horrible.

If for example, you have "becomes equal to 10.00" and the life is 11 and the unit is damaged to 9, then the event didnt fire.

I guess that the only reason why 0.00 works is that the life is set to that value when the unit dies.

Use "life becomes less than 0.41"
 
Status
Not open for further replies.
Top