C_PetBattles.GetForfeitPenalty

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.2.0

Returns the percentage of current health your pets will lose if you forfeit the battle.

forfeitPenalty = C_PetBattles.GetForfeitPenalty()

Returns

forfeitPenalty
number - percentage of current health each pet in your team will lose, e.g. 10 meaning 10% of current health.

Details

  • As the health loss is computed based on current health, it will never kill your pets.

Patch changes

Mists of Pandaria Patch 5.2.0 (2013-03-05): Added.

See also