Files
ClassicAPI/src
Brues 17f44f93f8 Add C_Item.GetEnchantInfo(enchantID)
Resolves an item-enchantment ID (the enchantID from
C_Item.GetWeaponEnchantInfo, and item permanent-enchant IDs) into its
SpellItemEnchantment.dbc record:

  { enchantID, name, effects = {{type,amount,arg},...}, spellID }

- name: localized display name ("Crusader", "Brilliant Mana Oil").
- effects: each active slot's ITEM_ENCHANTMENT_TYPE / amount / arg.
- spellID: convenience for spell-type enchants (1/3/7) — the proc/
  equip/use spellID, e.g. Crusader -> 20007 "Holy Strength", to chain
  into C_Spell.GetSpellDescription.

Record layout verified by parsing the on-disk DBC against known
records (Crusader 1900: type 1, arg 20007; Sharpened+3 id 13: type 2,
amount 3; Reinforced Armor+8 id 15: type 4, amount 8): Type[3]@+0x04,
Amount[3]@+0x10, EffectArg[3]@+0x28, Name[8]@+0x34. The engine's
by-ID readers only touch name/flags/condition, so the effect columns
couldn't be pinned from disassembly — the extracted dbc/ dump was the
oracle. Verified in-game across all three example enchants.

Placed in C_Item (not C_Spell): the id originates from
C_Item.GetWeaponEnchantInfo and the concept is an item enchantment.
Source-item is not derivable (no back-reference, no client reverse
index).
2026-06-23 02:00:52 -05:00
..
2026-06-04 15:43:19 -05:00
2026-06-18 23:23:26 -05:00
2026-05-14 14:24:11 -05:00
2026-05-09 22:15:14 -05:00
2026-05-29 03:54:17 -05:00
2026-05-14 14:24:11 -05:00
2026-05-17 20:50:10 -05:00
2026-05-19 18:30:13 -05:00
2026-05-25 23:37:14 -05:00
2026-05-30 22:36:30 -05:00
2026-06-23 02:00:52 -05:00
2026-06-07 15:18:56 -05:00
2026-05-30 03:54:37 -05:00
2026-05-25 00:20:53 -05:00
2026-05-16 17:58:07 -05:00
2026-05-12 21:51:46 -05:00
2026-05-14 14:24:11 -05:00
2026-05-24 01:38:28 -05:00
2026-05-07 10:47:34 -05:00
2026-06-23 02:00:52 -05:00