function Trig_Wild_Growth_Actions takes nothing returns nothing
endfunction
//===========================================================================
function InitTrig_Wild_Growth takes nothing returns nothing
set gg_trg_Wild_Growth = CreateTrigger( )
call TriggerAddAction( gg_trg_Wild_Growth, function Trig_Wild_Growth_Actions )
endfunction
function Wild_Growth_Condition takes nothing returns boolean
return GetSpellAbilityId == 'A002'
endfunction
function Wild_Growth_Actions takes nothing returns nothing
local unit caster
local group allies
local unit temp
local integer count = 5
call GroupEnumUnitsInRangeOfLoc(allies,start_position,500.0,null)
call TriggerRegisterTimeEvent (trg, 8, true)
loop
if IsUnitHeal(temp, GetOwningPlayer(caster)) then
call SetUnitLifePercentBJ( GetEnumUnit(), ( GetUnitLifePercent(GetEnumUnit()) + 50.00
exitwhen timer = 0
endfunction