Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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 changes[]
Patch 5.0.4 (2012-08-28): Added.