m (cleanup, replaced: wowwiki.com/WoWWiki:External_links → wowpedia.org/Wowpedia:External_links) |
(bp) |
||
Line 1: | Line 1: | ||
+ | {{wowapi}} |
||
− | <onlyinclude>{{Achievementbox |
||
+ | Retrieves information about a specific SpellBook item |
||
− | |mode={{{mode|}}} |
||
+ | skillType, spellId = GetSpellBookItemInfo(spellName or index, bookType) |
||
− | |arg={{{arg|}}} |
||
− | |name=Murkimus the Gladiator |
||
− | |disambigpage=Murkimus the Gladiator (achievement) |
||
− | |image=inv_spear_05 |
||
− | |description=Proud owner of a Murkimus the Gladiator pet. |
||
− | |type={{{doc|Feats of Strength}}} |
||
− | |width=32em |
||
− | }}</onlyinclude> |
||
+ | == Arguments == |
||
− | '''Murkimus the Gladiator''' is a [[Feats of Strength|Feat of Strength]] for acquiring a [[Murkimus' Little Spear]]. This pet was originally given out to those who participated in 200 arena matches during the 2009 Arena Tournament, and will also be given to those who participate in 50 matches during the 2010 tournament. |
||
+ | ;spellName:String - The name of the spell you want to query |
||
+ | ;index : Number - The index into the spellbook |
||
+ | ;bookType : String - Spell book type; either BOOKTYPE_PET ("pet") or BOOKTYPE_SPELL ("spell"). |
||
− | == |
+ | == Returns == |
+ | ;skillType:String - The type of the spell (known values: "SPELL", "PETACTION", "FUTURESPELL", "FLYOUT") |
||
− | {{patch 3.1.2|note=Added.}} |
||
+ | ;spellId:Number - Spell ID of the spellbook item. |
||
+ | If nothing is found or invalid parameters were supplied, nil is returned |
||
− | ==External links== |
||
− | <!-- Read http://www.wowpedia.org/Wowpedia:External_links before posting your links here. |
||
− | Links that do not conform to the rules will be DELETED. |
||
− | Repeat violations may result in a BAN. |
||
− | Have a nice day. :) --> |
||
− | {{Elinks-achievement|3618}} |
||
− | |||
− | {{achievements}} |
Revision as of 00:08, 29 May 2011
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Retrieves information about a specific SpellBook item
skillType, spellId = GetSpellBookItemInfo(spellName or index, bookType)
Arguments
- spellName
- String - The name of the spell you want to query
- index
- Number - The index into the spellbook
- bookType
- String - Spell book type; either BOOKTYPE_PET ("pet") or BOOKTYPE_SPELL ("spell").
Returns
- skillType
- String - The type of the spell (known values: "SPELL", "PETACTION", "FUTURESPELL", "FLYOUT")
- spellId
- Number - Spell ID of the spellbook item.
If nothing is found or invalid parameters were supplied, nil is returned