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

Spellbook checker #161

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Spellbook checker #161

wants to merge 1 commit into from

Conversation

Pinibot
Copy link

@Pinibot Pinibot commented May 1, 2023

Added method to main bot.py that returns what spellbook we're currently on.

Does this by trying to search for the spellbook sprites on the main client screen. The spellbook image paths are stored in an enum so that we can more cleanly compare which book is returned.

Also renamed the src/images/bot/spellbooks/normal directory to standard as this is how this spellbook is referenced in game and by the wiki.

Added method to main bot.py that returns what spellbook we're currently on.

Does this by trying to search for the spellbook sprites on the main client screen.
The spellbook image paths are stored in an enum so that we can more cleanly compare which book is returned.

Also renamed the src/images/bot/spellbooks/normal directory to standard as this is how this spellbook is referenced in game and by the wiki.
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.

None yet

1 participant