Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Commit

Permalink
Fix error.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeInDreams committed Mar 29, 2019
1 parent df62365 commit d6e68ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/A9.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ WaitPopUp() ; 消除弹窗,这包括促销广告、入队申请、俱乐部奖
RandomClick(REQUEST_X, REQUEST_Y, , DELAY_LONG)
if (A_Index > 6 && A_Index <= 9) ; 第7~9次尝试关闭误触导致的改昵称弹窗
RandomClick(NICK_CLOSE_X, NICK_CLOSE_Y, , DELAY_LONG)
if (A_Index > 10) ; 13次直接重置
if (A_Index > 9) ; 10次直接重置
Restart()
}
if CheckPixel(MP_PACK_X, MP_PACK_Y, MP_PACK_COLOR) ; 关闭多人包弹窗
Expand Down Expand Up @@ -491,6 +491,7 @@ RunCareerRace() ; 从A9首页打开并开始生涯EURO赛季的第12个赛事
RandomClick(EURO_SEASON_X, EURO_SEASON_Y, , DELAY_MIDDLE, 2)
local carArraySize := CAREER_CARS.MaxIndex()
while (!UpdateTicket() && ENABLE_CAREER_RACE) ; 票无变化 且 启用生涯赛事
{
CheckTime()
WaitPopUp()
WaitColor(NEXT_X, NEXT_Y, NEXT_COLOR_GREEN, NEXT_COLOR_RED) ; 等待进入
Expand Down

0 comments on commit d6e68ca

Please sign in to comment.