Method Unit:CastCustomSpell [-] [+]
Casts the Spell at target Unit with custom basepoints or casters. See also Unit:CastSpell.
Synopsis
Unit:CastCustomSpell( target, spell, triggered, bp0, bp1, bp2, castItem, originalCaster )
Arguments
Unit target (nil)
- See method description.
number spell
Valid numbers: integers from 0 to 4,294,967,295.
boolean triggered (false)
- See method description.
number bp0 (nil)
Custom basepoints for Spell effect 1. If nil, no change is made.
Valid numbers: integers from -2,147,483,647 to 2,147,483,647.
number bp1 (nil)
Custom basepoints for Spell effect 2. If nil, no change is made.
Valid numbers: integers from -2,147,483,647 to 2,147,483,647.
number bp2 (nil)
Custom basepoints for Spell effect 3. If nil, no change is made.
Valid numbers: integers from -2,147,483,647 to 2,147,483,647.
Item castItem (nil)
- See method description.
uint64 originalCaster (0)
- See method description.
Returns
Nothing.