Do the maths before calling and see if it works
local real healing = GetUnitState(d.attacker, UNIT_STATE_MAX_LIFE) * Heal())
call BJDebugMsg(R2S(healing )
call SetUnitState(d.attacker, UNIT_STATE_LIFE, GetUnitState(d.attacker, UNIT_STATE_LIFE) + healing )
add to your trigger Dialog - Clear Dialog_Horde
SHOW IN THE END that's the problem, you have in begining, so it won't show button
Time - Elapsed game time is 2.00 seconds
Player Group - Pick every player...
check this "http://world-editor-tutorials.thehelper.net/dialogs.php"
Time - Elapsed game time is 1.00 seconds
Dialog - Clear myDialog
Dialog - Change the title of myDialog to "Some text"
Dialog - Create a dialog button for myDialog labeled "Text to...
Give a ability to to kill the creatures in range (big range) of the fountain like a aoe (give a BIG cd, or cd+gold cost), if the fountain (give fountain low hp so mobs can kill it easly) is dead = no aoe.
Time - Every 1 second of game time
Set integer = integer +1
Events - ??
// if less don't do anything
If integer less or equal to "2" then
//nothing, or another action if you need
// if greater do the action you want "remember to set integer to 0"
If integer greater or equal to "2"...
found one in the grave lol
casting bar is a casting bar lol, when a unit cast a channel spell it creates a bar showing a progressive time bar