- Joined
- Jan 14, 2017
- Messages
- 75
How do I get spell ID's for Warcraft III? Looked it up, got no results. I need an ID for my custom Spell (which uses "Channel")
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
call TriggerAddAction( gg_trg_Wild_Growth, function Trig_Wild_Growth_Actions )
, so you need to declare Trig_Wild_Growth_Actions above it.call SetWidgetLife(u, GetWidgetLife(u) + healAmount)