v0.13.7

C_PetBattles.GetAttackModifier

functionguessedavailable in: camelot

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

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
petTypenumberIndex of the pet's type. Accepted values are 1-10.
enemyPetTypenumberIndex 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.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.