C_ItemUpgrade. GetItemUpgradeEffect
functionguessedavailable in: camelot
Returns the effect of upgrading an item on one of its effects.
function C_ItemUpgrade.GetItemUpgradeEffect( effectIndex: number, numUpgradeLevels: number?): (string?, string?)Parameters
| name | type | description |
|---|---|---|
effectIndex | number | Index of the effect to query, ascending from 1 to C_ItemUpgrade.GetNumItemUpgradeEffects() |
numUpgradeLevels | number? |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | outBaseEffect | string? | 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.") |
| 2 | outUpgradedEffect | string? | 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 ↗.