steve1316 / granblue-automation-pyautogui

Educational application aimed at automating user-defined workflows for the mobile game, "Granblue Fantasy", using a variety of CV technologies in the backend such as OpenCV, PyAutoGUI and EasyOCR and a frontend coded in Typescript.
https://github.com/steve1316/granblue-automation-pyautogui/wiki
120 stars 36 forks source link

Commands after Turn 1 are ignored and will continually auto attack until end. #80

Closed catly1 closed 3 years ago

catly1 commented 3 years ago

https://github.com/steve1316/granblue-automation-pyautogui/blob/b8422233449f2b7eb8a3b0498b1a53cf71a6bbb7/bot/combat_mode.py#L686-L687

This breaks the while loop after turn 1 and ignores everything past it in the script. Replacing break with continue fixes it though.

steve1316 commented 3 years ago

Oversight on my part! Thank you for letting me know!

catly1 commented 3 years ago

It's working great now. Thanks!