Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Einheit - Pause on the expiration timer for YourUnit
Einheit - Pause on the expiration timer for YourUnit
Aktionen

Countdown-Timer - Start Timer as a Once/Unique timer that will expire in 60.00 seconds

Countdown-Timer - Create a timer window for Timer with title Spell
Using the ReplaceUnit function doesn't take away your items, as far as I can recall.You could replace old unit with new unit (old life and mana). But if you do this with hero, he would lose all items. So you would have to put items variables before you replace it, and re-create these items after you replaced hero.
Hm no, it won't remove the timer I guess. So the way you wanna use it, it would be a bad solution :s
My suggestions:
1)Dont use expiration timer, use a timer insetad (you will need to create variables)
Aktionen
Countdown-Timer - Start Timer as a Once/Unique timer that will expire in 60.00 seconds
Countdown-Timer - Create a timer window for Timer with title Spell
And dont forget desroying timer window if unit dies before, or it stops this ability.
2)You could just create floating text Timer (60) above unit, and then change the text every 1 second to "Timer - 1"
3) You could replace old unit with new unit (old life and mana). But if you do this with hero, he would lose all items. So you would have to put items variables before you replace it, and re-create these items after you replaced hero.
Melee Initialization

Events


Time - Elapsed game time is 2.00 seconds

Conditions

Actions


Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees


Unit - Set life of (Last created unit) to 25.00%


Unit - Add a 3.00 second Generic expiration timer to (Last created unit)


Set r = (Life of (Last created unit))


Wait 2.90 seconds


Unit - Add Reincarnation to (Last created unit)


Wait 0.00 seconds


Unit - Set life of (Last created unit) to r


Unit - Remove Reincarnation from (Last created unit)
Actions

Set u = (Last created unit)

Selection - Select u for (Owner of u)
Spellbook.Reincarnation Setup.
thank for the idea, but how to hide it, so the player dont see the skill "Reincarnation"
What if you morphed the hero into the same form?
Spellbook.
To hide the spell book, disable the ability for the player (or all players).
