-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] Alternative spell names #655
Comments
This would be a massive improvement. |
It looks like this functionality is somewhat build into the API.
I believe when key is used, it's directly getting the spell name from the parsed combat log event - not 100% sure - but it is certainly just the "default spell name". Then, in each boss file, for example /Addons/LittleWigs/Dragonflight/AlgetharAcademy/OvergrownAncient.lua
As you can see, the self:Bar function takes additional optional parameters including custom bar text. I found that if I changed the above function as shown below (adding "GERMINATE" to the bar call) and tested in game, it correctly overwrote the bar text.
I'm not sure how to implement this more broadly, I think it would require adding an entry box/log/variable to the addon and then passing an additional argument that defaults to nul for every single module event handler. I'm not really much of a developer so not sure a better way, but this work around actually makes this customization possible and a reality with some effort. If any more experienced devs were interested in helping me work on this I'd be happy to do so. |
Allow users to give spells an alternative name, and show that name on bars instead.
The text was updated successfully, but these errors were encountered: