Egoistically / ALAuto

Azur Lane bot based on azurlane-auto. Discord: https://discord.gg/vCFxDen.
Do What The F*ck You Want To Public License
104 stars 43 forks source link

Combat improvements #133

Closed hjk22 closed 4 years ago

hjk22 commented 4 years ago

Highlight

Introduced another approach to determine enemies position

Special thanks to @phantasmalmira for the idea and for the assets. The bot searches for the triangles which represent the enemy type and for the level: for each finding a rectangle is drawn. An enemy is recognized as such if there is an intersection between a rectangle drawn from the enemy type and one drawn from the level: the center of this intersection is the enemy's coordinates. This should improve the reliability of enemies' search. A new option SearchMode is introduced to either use this search method (value 1) or the old one (value 0).

Other changes