FlyoutHasSpell

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.1.0

Returns whether a flyout contains a specific spell.

hasSpell = FlyoutHasSpell(flyoutID, spellID)

Arguments

flyoutID
number - flyout ID (as returned by GetSpellBookItemInfo or GetActionInfo).
spellID
number - spell ID.

Returns

hasSpell
boolean - true if the flyout contains the specified spell, false otherwise.

Patch changes

Mists of Pandaria Patch 5.1.0 (2012-11-27): Added.