We have begun migration of most wikis to our new host, Amazon Web Services. All but the top 100 wikis are in read-only mode until the migration is complete. Estimated completion: TBD -- Update: Fri 10/20 11pm UTC - We have encountered some unexpected issues. Our staff is working around the clock to complete this process as quickly as possible. Thank you for your patience.

API FlyoutHasSpell

From Wowpedia
Jump to: navigation, search

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 history

MoP Patch 5.1.0 (2012-11-27): Added.