ennvina / spellactivationoverlay

Spell Alerts for WoW Classic
MIT License
6 stars 18 forks source link

Spell ID vs. Spell Name #297

Closed ennvina closed 1 month ago

ennvina commented 1 month ago

For Classic Era, buffs and debuffs are looked by spell name instead of spell ID, as mentioned in #116.

However, recent evidence shows that spell IDs are available back again for Classic Era, including Hardcore and Season of Discovery.

Instead of looking only at the spell name, the spell ID should be used if possible, and fall back to spell name only if needed.

Non-Era code should be left unchanged.