mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
The engine's CGPlayer_C::CanDualWield (0x005EAB70) reads a global that the learn path sets and only the unlearn of the same spell clears. Nothing clears it at logout, so after a character that knows Dual Wield, every later character in the session reads true. CanDualWield and GetAverageItemLevel now ask whether this character knows spell 674, the only SPELL_EFFECT_DUAL_WIELD spell in Spell.dbc, through a new Spell::Known module. Spell::Known::IsKnown replaces the three copies of the known-spell bitmap read in spell/Info.cpp, spell/Usable.cpp and aura/Source.cpp.