WoW:API GetPetHappiness
Jump to navigation
Jump to search
Returns the pet's happiness, damage percentage, and loyalty gain rate.
happiness, damagePercentage, loyaltyRate = GetPetHappiness();
- Returns:
- happiness (integer) - the numerical happiness value of the pet (1 = unhappy, 2 = content, 3 = happy)
- damagePercentage (integer) - damage modifier, happiness affects this (unhappy = 75%, content = 100%, happy = 125%)
- loyaltyRate (integer) - the rate at which your pet is currently gaining loyalty (< 0, losing loyalty, > 0, gaining loyalty)