m
Move page script moved page API GetSpellInfo to WoW:API GetSpellInfo without leaving a redirect
m (Move page script moved page API GetSpellInfo to WoW:API GetSpellInfo without leaving a redirect) |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 10: | Line 10: | ||
== Arguments == | == Arguments == | ||
<!-- List each argument, together with its type --> | <!-- List each argument, together with its type --> | ||
: | :spellId or spellName or spellLink | ||
:;spellId : Integer - The global spell number, found on wowhead or through [[API_COMBAT_LOG_EVENT|COMBAT_LOG_EVENT]]. | :;spellId : Integer - The global spell number, found on wowhead or through [[API_COMBAT_LOG_EVENT|COMBAT_LOG_EVENT]]. | ||
| Line 18: | Line 18: | ||
== Returns == | == Returns == | ||
: name, rank, icon | : name, rank, icon, castTime, minRange, maxRange | ||
; name : String - The name of the spell. | |||
; rank : String - The rank line from the tooltip of the spell, e.g. "Rank 2". Returns some other classification (like "Summon" for a summoning spell) or an empty string if there is no rank. | |||
; icon : String - The interface path to the icon texture. | |||
; castTime : Number - The cast time, in milliseconds. | |||
; minRange : Number - The minimum range of the spell. | |||
; maxRange : Number - The maximum range of the spell. | |||
== Details == | == Details == | ||