Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the active Archaeology artifact for a race.
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.[1]
- 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[]
Patch 8.0.1 (2018-07-17): Fifth return value is only available after information loads on demand.[1]
Patch 4.0.1 (2010-10-12): Added.
See also[]
- GetArtifactInfoByRace(raceIndex, artifactIndex)
- GetSelectedArtifactInfo()
References[]
- ^ a b Battle for Azeroth Addon Changes forum blue post by Ythisens, 24 Apr 2018