Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C PetBattles.GetAbilityInfoByID

Last wiki revision 2022-08-01

Returns very detailed information about a specific ability. id, name, icon, maxCooldown, unparsedDescription, numTurns, petType, noStrongWeakHints = C_PetBattles.GetAbilityInfoByID(abilityID)

  • abilityID: - ID of the ability.
  • abilityID: - The ID of the ability returned back.
  • name: - The name of the ability.
  • icon: - The full path to the ability's icon.
  • maxCooldown: - The normal cooldown period for the ability.
  • unparsedDescription: - The ability's description in its pure and unparsed form.
  • numTurns: - Duration of the ability. This is typically 1, but some abilities last multiple rounds.
  • petType: - Returned values are 1-10, based on the
  • noStrongWeakHints: - True if the ability should not show Strong/Weak indicators, false otherwise.
  • Despite falling under the realm of C_PetBattles, this function is incredibly useful outside Pet Battles too because it provides far more information than its C_PetJournal counterpart -.
  • - Get information about a pet ability when you don't know the abilityID
  • - Get list of abilities for the specified pet species
  • Pet Battle Functions

Source

https://warcraft.wiki.gg/wiki/API_C_PetBattles.GetAbilityInfoByID · 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.