WoW:API CastPetAction: Difference between revisions

addded second parameter (see SecureTemplates.lua l. 228 for reference)
(upgraded deprecated template)
(addded second parameter (see SecureTemplates.lua l. 228 for reference))
Line 4: Line 4:
Cast the corresponding pet skill.
Cast the corresponding pet skill.


  CastPetAction(index);
  CastPetAction(index, [unit]);


----
----
Line 11: Line 11:
: (index)
: (index)
:; index : Number - The index of the pet skill for query.
:; index : Number - The index of the pet skill for query.
: (unit)
:; unit : [[UnitId]] - Optional UnitId


----
----
Anonymous user