Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C ItemUpgrade.GetItemUpgradeEffect

Last wiki revision 2022-08-01

Returns the effect of upgrading an item on one of its effects. outBaseEffect, outUpgradedEffect = C_ItemUpgrade.GetItemUpgradeEffect(effectIndex [, numUpgradeLevels])

  • effectIndex: - Index of the effect to query, ascending from 1 to
  • numUpgradeLevels:
  • outBaseEffect: - 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.")
  • outUpgradedEffect: - 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.")
  • The function returns information about the item currently being considered for an upgrade (e.g. using ).
  • Item effects are non-stat bonuses on the item, like custom Equip: bonuses (procs) and Use: abilities.
  • The strings returned by this function are plain text; FrameXML attempts to highlight the differences in numbers using string operations (see ItemUpgradeFrame_GetUpgradedEffectString)

Source

https://warcraft.wiki.gg/wiki/API_C_ItemUpgrade.GetItemUpgradeEffect · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.