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

Stuck on Targeted Spell #28

Closed
gkoi00 opened this issue Jul 4, 2023 · 2 comments
Closed

Stuck on Targeted Spell #28

gkoi00 opened this issue Jul 4, 2023 · 2 comments

Comments

@gkoi00
Copy link

gkoi00 commented Jul 4, 2023

Hello!

Overall the bot works fine for me, except for when it plays a spell that needs a target (e.g. an ally).
The cursor just sits on the middle of the screen and doesnt choose any target.

@MOj0
Copy link
Owner

MOj0 commented Jul 4, 2023

Hi, yeah this is a known limitation. This would be quite complex to do, as there are a lot of options when it comes to playing a spell. Namely, can it target allies, can it target enemies, should target alliles/enemies, can it target champions, can it target nexuses, does it have multiple targets, ...
I could implment a basic text semantic algorithm, where it reads the description and based on that it plays a spell. This way it could correctly play any spell in the game, which could be quite useful.
But, I'm working on other projects now and don't really have the time. If you feel like doing it yourself, feel free to open a PR and I'll gladly take a look at it 🙂

@gkoi00
Copy link
Author

gkoi00 commented Jul 4, 2023

Oh i didn't realise that was the intended action. I suppose then a deck without spells would make this a true afk farming bot. Meanwhile using the strategies and manually targeting spells will suffice for competitive play.
Seems like an interesting feature to try and implement, and i will keep it in mind.
Thank you so much for your amazing work here!

@gkoi00 gkoi00 closed this as completed Jul 4, 2023
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

No branches or pull requests

2 participants