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)

Arguments

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

Returns

modifier
Number - The multiplier that should be applied to an attack from petType launched against enemyPetType.

Returns

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