Krealle / Cell_UnitFrames

MIT License
14 stars 3 forks source link

[Feature] Add by spell name #106

Open kalbert312 opened 1 month ago

kalbert312 commented 1 month ago

Describe the feature

Adding spells by name to white/blacklist instead of ID will save headache of getting all spell IDs.

Describe the implementation

Enter a spell name, then the addon loops across all spell ids that match the name and adds the spell ids to the list.

Krealle commented 1 month ago

There is no direct API for getting spellIds from names (outside of player spells), so this would require iterating every single spellId in the game to find matches. Not too keen on this just yet, but might reconsider in the future.