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

Bots treat Illusions and summons/controlled as players #94

Open
megastruktur opened this issue Jun 6, 2023 · 1 comment
Open

Bots treat Illusions and summons/controlled as players #94

megastruktur opened this issue Jun 6, 2023 · 1 comment

Comments

@megastruktur
Copy link

Looks like bots can't distinguish between player and controlled units so they use every skill + ultimates on them.
Is there a API/hack you could fix that one? Thanks :)

@adamqqqplay
Copy link
Owner

Theoretically, we cannot directly judge whether the unit is a phantom from the Dota2 API. But we do use some methods to distinguish, such as observing whether the unit has a special debuff, and whether the damage it takes is normal. Unfortunately, these methods sometimes fail to work, just as human players sometimes misjudge.

Regarding summons, there is indeed room for improvement. Thanks for your advice!

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