Code: Select all
hooksecurefunc("BattlePetToolTip_Show",function(speciesID)
if type(speciesID)=="number" then
local text = select(5,C_PetJournal.GetPetInfoBySpeciesID(speciesID))
if text and text:len()>0 then
BattlePetTooltipTemplate_AddTextLine(BattlePetTooltip, "\n"..text, 1,1,1,true)
end
end
end)
Now when you look at tooltips of caged battle pets on the AH they'll look like this:
This doesn't work for items that reward pets when you click them, such as Green Helper Box. I was going to put it in one of my addons for this week's patch but none seemed to fit so figured I'd post it instead. If someone wants to zip it up and post it to curse/wowinterface/etc under their name it's all yours.