Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetPetExperience

Last wiki revision 2022-07-22

Returns the pet's current and total XP required for the next level. currXP, nextXP = GetPetExperience

  • currXP: - The current XP total
  • nextXP: - The XP total required for the next level

local currXP, nextXP = GetPetExperience; DEFAULT_CHAT_FRAME("Pet experience: " .. currXP .. " / " .. nextXP);

Pet experience is displayed in the default chat frame.

Source

https://warcraft.wiki.gg/wiki/API_GetPetExperience · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.