Lua ChannelSpell

From ArcEmu-Wiki
Jump to: navigation, search

Description

Forces the unit to channel a spell with the given ID to the TARGET.

Usage/Example

function NPCCHANNEL(unit, event)
	if(unit:GetClosestEnemy()~=nil) then
		unit:ChannelSpell(47855, unit:GetClosestEnemy()) -- Drain Soul
	end
end

Personal tools