Commit 16b21b9c authored by Maximvs's avatar Maximvs
Browse files

Update ExperienceBar.lua

parent 155fc48d
......@@ -44,7 +44,7 @@ function Experience:SetTooltip()
Current, Max = GetPetExperience()
happiness, damagePercentage, loyaltyRate = GetPetHappiness()
happy = ({"|cffFF0000Unhappy|r", "|cffFFFF00Content|r", "|cff00FF00Happy|r"})[happiness]
loyalty = loyaltyRate > 0 and "cff00FF00gaining|r" or "|cffFF0000losing|r"
loyalty = loyaltyRate > 0 and "|cff00FF00gaining|r" or "|cffFF0000losing|r"
petIcon, petName, petLevel, petType, petLoyalty = GetStablePetInfo(0)
if Max == 0 then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment