Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API C_PetBattles.GetAttackModifier

From Wowpedia
Jump to: navigation, search

Returns the modifier for an attack launched by a pet against an enemy pet.

modifier = C_PetBattles.GetAttackModifier(petType, enemyPetType)


Number - Index of the pet's type. Accepted values are 1-10.
Number - Index of the enemy pet's type. Accepted values are 1-10.


Number - 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)

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also