WoW:API CastSpell

Revision as of 22:56, 31 December 2004 by WoWWiki>Lorrick
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
CastSpell -Documentation by Lorrick-

Returns information about the specified spellbook tab.

GetSpellTabInfo({spellID}, {spellbookTabNum});

Arguments
( spellID )
spellID
Integer - Spell ID.
( spellbookTabNum )
spellbookTab
Integer - Spellbook tab to retrieve information for. Valid values are 1 through MAX_SKILLLINE_TABS(8).

Returns
??

Example
SPELLBOOK_TAB_GENERAL = 1;      
CastSpell( 1, SPELLBOOK_TAB_GENERAL );


Result
Casts the first spell listed on the general tab of the spellbook.

Description
Cast specified spell.

Template:WoW API