Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C PetBattles.GetAttackModifier

Last wiki revision 2022-08-01

Returns the modifier for an attack launched by a pet against an enemy pet. modifier = C_PetBattles.GetAttackModifier(petType, enemyPetType)

  • petType: - Index of the pet's type. Accepted values are 1-10.
  • enemyPetType: - Index of the enemy pet's type. Accepted values are 1-10.
  • modifier: - The multiplier that should be applied to an attack from petType launched against enemyPetType.

The returns are currently either: 1 (default), 0.666667 (weak), or 1.5 (strong)

  • Pet Battle Functions

Source

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