Method Unit:CastSpell [-] [+]
Makes the Unit cast the spell on the target.
Synopsis
Unit:CastSpell( target, spell, triggered )
Arguments
Unit target (nil)Can be self or another unit.
number spellEntry of a spell.
Valid numbers: integers from 0 to 4,294,967,295.
boolean triggered (false)If true the spell is instant and has no cost.
Returns
Nothing.