View Single Post
07-17-20, 08:26 PM   #1
Spawnova
A Warpwood Thunder Caller
 
Spawnova's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 96
How to set companion pet ability to tooltip

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?
  Reply With Quote