WoW:API GetCraftSpellFocus: Difference between revisions
Jump to navigation
Jump to search
(Returns the frame that the cursor is over.) |
m (Move page script moved page API GetCraftSpellFocus to API GetCraftSpellFocus without leaving a redirect) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].}} | |||
{{wowapi}} | |||
''CatalystName, 1'' GetCraftSpellFocus(''index'') | |||
=== Arguments === | |||
:;index : Numeric - 1 to [[API GetNumCrafts|GetNumCrafts()]] | |||
=== Returns === | |||
When called while the enchanting screen is open, this function returns which rod is required, if any. I don't know whether this function also applies to other types of crafts or spells. | |||
Returns two values when a rod is required: a string that contains the name of the rod, and the number "1". I don't know what the "1" means. | |||
Returns nil if no rods are required. |
Latest revision as of 04:45, 15 August 2023
This is no longer a part of the World of Warcraft API.
|
← WoW API < GetCraftSpellFocus
CatalystName, 1 GetCraftSpellFocus(index)
Arguments[edit]
- index
- Numeric - 1 to GetNumCrafts()
Returns[edit]
When called while the enchanting screen is open, this function returns which rod is required, if any. I don't know whether this function also applies to other types of crafts or spells.
Returns two values when a rod is required: a string that contains the name of the rod, and the number "1". I don't know what the "1" means.
Returns nil if no rods are required.