I'm trying to parse the data from the FloatingPetBattleAbilityTooltip however I don't actually know how to set the ability to the tooltip, and I can't find much information online.
Code:
local tip = FloatingPetBattleAbilityTooltip
local text = tip.Description:GetText()
print(text)
Works just fine for getting the text, but only if i manually click an ability.
Does anyone know how to do this, or is there a better way to get ability tooltip information on companion pet abilities?