C_PetBattles .GetAttackModifier
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.0.4 |
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.