Quantcast
WoWInterface - View Single Post - How to set companion pet ability to tooltip
View Single Post
07-18-20, 11:28 AM   #2
Gello
A Firelord
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 492
Code:
FloatingPetBattleAbility_Show(abilityID,maxHealth,power,speed)
local tip = FloatingPetBattleAbilityTooltip
local text = tip.Description:GetText()
print(text)
You probably want to tip:Hide() afterwards too if you just wanted to get the text.
  Reply With Quote