WoW:API GetCritChance: Difference between revisions

m
Added 1.10 fix to GameTooltip -- :SetOwner
No edit summary
m (Added 1.10 fix to GameTooltip -- :SetOwner)
Line 18: Line 18:
       end
       end
     end
     end
    [[Widget API#GameTooltip|GameTooltip:SetOwner]](WorldFrame,"ANCHOR_NONE");
     [[Widget API#GameTooltip|GameTooltip:SetSpell]](id, [[WoW Constants#Miscellaneous|BOOKTYPE_SPELL]]);
     [[Widget API#GameTooltip|GameTooltip:SetSpell]](id, [[WoW Constants#Miscellaneous|BOOKTYPE_SPELL]]);
     local spellName = [[Widget API#GameTooltip|GameTooltipTextLeft2:GetText()]];
     local spellName = [[Widget API#GameTooltip|GameTooltipTextLeft2:GetText()]];
Anonymous user