Skip to content
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

Added new Perl/LUA GetSpellIDByBookSlot #1151

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

neckkola
Copy link
Contributor

I wanted to create an quest NPC to allow players to sort their spell book by level. Ended up creating a perl/lua client questAPI called GetSpellIDByBookSlot which uses the existing GetSpellByBookSlot function. This has allowed me to create a perl/lua script to retrieve the spells within the book, sort by various attributes (level, type, etc) and then repopulate the spellbook in whichever sorted order is required. Happy to share the scripts as well. Hope this is useful to others.

Added a new questAPI GetSpellIDByBookSlot to allow for sorting spellbooks by various attributes (level, type, etc).  Allows to determine which spell is in what book slot.
@Akkadius Akkadius merged commit a1cc68d into EQEmu:master Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants