API CastPetAction

Cast the corresponding pet skill. CastPetAction(index[, "target"])

Arguments

 * index : Number - pet action bar slot index, ascending from 1.
 * target : String - unit to cast the action on; defaults to "target".