Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetActiveArtifactByRace

From Wowpedia
Jump to: navigation, search

Returns the information for a specific race's active artifact.

artifactName, artifactDescription, artifactRarity, artifactIcon, hoverDescription, keystoneCount, bgTexture = GetActiveArtifactByRace(raceIndex, artifactIndex)

Arguments

branchIndex 
number - Index of the race to pick the artifact from.
artifactIndex 
number

Returns

artifactName 
string - The name of the artifact.
artifactDescription 
string - The description displayed on the artifact detail page. Only visible after completion for rare artifacts.
artifactRarity 
string - The rarity of the artifact, 0 for Common and 1 for Rare.
artifactIcon 
string - The path to the artifact's icon texture.
hoverDescription 
string - The description shown in the tooltip when hovering over the completed artifact. Not visible before the artifact is completed. Not readily available on function call, see SpellMixin:ContinueOnSpellLoad.
keystoneCount 
number - The number of Keystone slots this artifact has. Only visible when this is the in progress artifact.
bgTexture 
string - The path to the artifact's background texture. Only displayed when the artifact is rare.

Patch changes

See also

GetArtifactInfoByRace(raceIndex, artifactIndex)
GetSelectedArtifactInfo()