Method Pet:CastWhenWillAvailable [-] [+]

Queues a spell to be cast when the Pet becomes available.

Synopsis

Pet:CastWhenWillAvailable( spellId, target )

Pet:CastWhenWillAvailable( spellId, target, isPositive )

Arguments

number spellId

The spell ID to cast.

Valid numbers: integers from 0 to 4,294,967,295.

Unit target

The target for the spell.

boolean isPositive (false)

Whether the spell is beneficial.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine