dota2ai icon indicating copy to clipboard operation
dota2ai copied to clipboard

Bots treat Illusions and summons/controlled as players

Open megastruktur opened this issue 1 year ago • 1 comments

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 :)

megastruktur avatar Jun 06 '23 20:06 megastruktur

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!

adamqqqplay avatar Jun 13 '23 12:06 adamqqqplay