ennvina / spellactivationoverlay

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

Prevent Holy Power effects before level 9 #313

Closed ennvina closed 1 month ago

ennvina commented 1 month ago

Fixes #311.

Level detection code is inspired by PaladinPowerBar.lua.

There is a slight issue before level 9, because Holy Power is 'unknown'. This issue is very minor, no effects will proc, which is what we want. But it is usually bad practice to "expect impossible values"