|
@@ -407,10 +407,11 @@ void BattleJY(HWND hWnd, BOOL bHasSummoner, int nZJType)
|
|
// 我来抓你;
|
|
// 我来抓你;
|
|
if (GAssist::GetImgMatchtemplate(hWnd, GAssist::g_strAppdir + _T("img\\活动\\镜妖\\我来抓您的.bmp"), rc)) {
|
|
if (GAssist::GetImgMatchtemplate(hWnd, GAssist::g_strAppdir + _T("img\\活动\\镜妖\\我来抓您的.bmp"), rc)) {
|
|
// 找到匹配的模块;
|
|
// 找到匹配的模块;
|
|
|
|
+ SRAND(200,300);
|
|
//GAssist::MouseMove(hWnd, CPoint(rc.left + rand() % 10, rc.top + rand() % 10));
|
|
//GAssist::MouseMove(hWnd, CPoint(rc.left + rand() % 10, rc.top + rand() % 10));
|
|
DebugLog(_T("我来抓你:移动鼠标"));
|
|
DebugLog(_T("我来抓你:移动鼠标"));
|
|
GAssist::MouseClick(hWnd, CPoint((rc.right + rc.left) / 2 + rand() % 3, (rc.top + rc.bottom) / 2 + rand() % 3), TRUE);
|
|
GAssist::MouseClick(hWnd, CPoint((rc.right + rc.left) / 2 + rand() % 3, (rc.top + rc.bottom) / 2 + rand() % 3), TRUE);
|
|
- SRAND(800, 1500);
|
|
|
|
|
|
+ SRAND(1000, 1500);
|
|
DebugLog(_T("我来抓你:找到目标并单击成功:%s"));
|
|
DebugLog(_T("我来抓你:找到目标并单击成功:%s"));
|
|
}
|
|
}
|
|
}
|
|
}
|