v0.13.7

C_ItemUpgrade.GetItemUpgradeEffect

functionguessedavailable in: camelot

Returns the effect of upgrading an item on one of its effects.

signaturewowlua
function C_ItemUpgrade.GetItemUpgradeEffect(    effectIndex: number,    numUpgradeLevels: number?): (string?, string?)

Parameters

nametypedescription
effectIndexnumberIndex of the effect to query, ascending from 1 to C_ItemUpgrade.GetNumItemUpgradeEffects()
numUpgradeLevelsnumber?

Returns

#nametypedescription
1outBaseEffectstring?effect text before the item upgrade (e.g. "When your attacks hit you have a chance to gain 3,386 critical strike for 30 sec.")
2outUpgradedEffectstring?effect text after the item upgrade (e.g. "When your attacks hit you have a chance to gain 3,649 critical strike for 30 sec.")

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ItemUpgrade system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.