-
Notifications
You must be signed in to change notification settings - Fork 23
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
LibDispellable:CanDispel function? #161
Comments
There is a dispel category in LPS. You should be able to do something like |
I'm looking for a function like
Are you saying it's best to build that functionality outside the library using |
Yes, because tracking known player spells is out of scope for LPS. LPS can answer the question "Can a mage dispel a curse", but not "can YOUR mage dispel a curse". You could take a look at https://github.com/Rainrider/oUF_Dispellable/blob/refs%2Fheads%2Fmain/oUF_Dispellable.lua for an example implementation. There is also LibSpellbook which keeps track on spells known by the player and their pet (however this whole lib might be unneeded as the last expansion) |
LibDispellable-1.0 is still being used by GladiusEx and a bug exists where curses won't show as dispellable for mages. I think that's due to remove curse missing from this check here.
However AdiAddons/LibDispellable-1.0#6 says the library is abandoned.
Ideally LibPlayerSpells could provide an equivalent
LibDispellable:CanDispel
function. Would that be possible? If not do you have guidance on how to best approach? Happy to help however I can.The text was updated successfully, but these errors were encountered: