got it
call SetHeroStr(d.attacker, R2I(d.str * 1.15), false) Increases max hp and will increase max healing value Im right?
edit didnt saw earlier post XD
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
Dialog Horde
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Player Group - Pick every player...
check this "http://world-editor-tutorials.thehelper.net/dialogs.php"
edit:
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
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
Actions
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
elf
// if greater do the action you want "remember to set integer to 0"
If integer greater or equal to "2"...
You did copy paste of the ability 3 times?
You can't have the same base ability more that one time, in 1 hero, if you have it will cast one random ability from the 3
I'm not sure if you can detect passive ability's
edit: check this http://www.thehelper.net/forums/showthread.php/44516-Mathematics-Formulas dont know if it can help
found one in the grave lol
http://www.thehelper.net/forums/showthread.php/120838-Zwiebelchen-s-Casting-Bar-System
casting bar is a casting bar lol, when a unit cast a channel spell it creates a bar showing a progressive time bar