dota2ai
dota2ai copied to clipboard
Bots treat Illusions and summons/controlled as players
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 :)
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!