WoW:API HasPetSpells: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Formatting and categorization)
mNo edit summary
Line 32: Line 32:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|HasPetSpells]]
[[Category:API Pet Functions|HasPetSpells]]
[[Category:API Pet Functions|HasPetSpells]]

Revision as of 12:27, 30 August 2005

HasPetSpells -Documentation by AlexanderYoshi-

Returns true if the player has pet spells.

hasPetSpells, petToken = HasPetSpells();

Arguments
none

Returns
hasPetSpells, petToken
hasPetSpells
Boolean - true if the player has pet spells
petToken
String - The pet token

Example
 local hasPetSpells, petToken = HasPetSpells();
Result
true | false, "?"

Description
Returns true if the player has pet spells.

Template:WoW API