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

默认选择哪一个套牌呢? #17

Open
yuanninesuns opened this issue Apr 6, 2022 · 2 comments
Open

默认选择哪一个套牌呢? #17

yuanninesuns opened this issue Apr 6, 2022 · 2 comments

Comments

@yuanninesuns
Copy link

  1. 全屏进入后点击的是佣兵模式,而不是传统对战(怀疑跟分辨率有关,但是是按照readme设置的)
  2. 无法自动选择套牌,不知道脚本会选择哪一个套牌(在readme没有找到选择套牌这个信息)
  3. 无法自动对战(怀疑跟分辨率有关,但是是按照readme设置的)
@Duan2baka
Copy link

  1. 我看好像是判断是否在主菜单的cv好像出了问题,我自己是这么改的
    把FSM_action.py 的def WaitMainMenu()那几行改成
    def WaitMainMenu():
    print_out()
    while get_screen.get_state() != FSM_MAIN_MENU and get_screen.get_state() != FSM_CHOOSING_HERO:
    click.enter_battle_mode()
    time.sleep(5)
    if get_screen.get_state() == FSM_MAIN_MENU:
    return FSM_MAIN_MENU
    else:
    return FSM_CHOOSING_HERO
  2. 选套牌的话我是自己提前选好就行
  3. 没法自动堆栈的情况我是没遇到过,我不太清楚

@Yiyuan-Dong
Copy link
Owner

  1. 应该不是分辨率的问题,之前判断当前是不是在主菜单的程序出了点问题……现在修复了一下,我测试下来又可以用了。
  2. 需要自己先把给脚本用的卡组放到默认卡组的位置。
  3. ……我不知道为什么会出现这样的问题,我猜可能跟(1.)是一个问题……吧……

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

3 participants