Method PlayerBotAI:CanCastVehicleSpell [-] [+]

Returns true if the bot can cast the given vehicle spell on the target.

Synopsis

canCast = PlayerBotAI:CanCastVehicleSpell( spellId, target )

Arguments

number spellId

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

Unit target
See method description.

Returns

boolean canCast
See method description.