|
@@ -196,9 +196,10 @@ BOOL IsWattingAttack(HWND hWnd, int nAttackNPCType)
|
|
{
|
|
{
|
|
case 0:
|
|
case 0:
|
|
{ // 将鼠标移动到指定位置;
|
|
{ // 将鼠标移动到指定位置;
|
|
|
|
+ DebugLog(_T("IsWattingAttack:镜妖中……"));
|
|
POINT ptDest = { 20, 50 }; // 左上角;
|
|
POINT ptDest = { 20, 50 }; // 左上角;
|
|
GAssist::MouseMove(hWnd, ptDest);
|
|
GAssist::MouseMove(hWnd, ptDest);
|
|
- if (GAssist::IsMatchIcon(hWnd, GAssist::g_strAppdir + _T("img\\我方攻击中.bmp"), { 0, 0, 30, 60 }, rc)) {
|
|
|
|
|
|
+ if (GAssist::IsMatchIcon(hWnd, GAssist::g_strAppdir + _T("img\\我方攻击.bmp"), { 0, 50, 60, 115 }, rc)) {
|
|
DebugLog(_T("IsWattingAttack:我方攻击"));
|
|
DebugLog(_T("IsWattingAttack:我方攻击"));
|
|
bIsAttack = TRUE;
|
|
bIsAttack = TRUE;
|
|
}
|
|
}
|
|
@@ -207,6 +208,7 @@ BOOL IsWattingAttack(HWND hWnd, int nAttackNPCType)
|
|
case 1:
|
|
case 1:
|
|
{
|
|
{
|
|
// 将鼠标移动到指定位置;
|
|
// 将鼠标移动到指定位置;
|
|
|
|
+ DebugLog(_T("IsWattingAttack:职业挑战中……"));
|
|
POINT ptDest = { 625, 28 }; // 左上角;
|
|
POINT ptDest = { 625, 28 }; // 左上角;
|
|
GAssist::MouseMove(hWnd, ptDest);
|
|
GAssist::MouseMove(hWnd, ptDest);
|
|
if (!GAssist::IsMatchIcon(hWnd, GAssist::g_strAppdir + _T("img\\战斗中2.bmp"), { 0, 0, 30, 60 }, rc)) {
|
|
if (!GAssist::IsMatchIcon(hWnd, GAssist::g_strAppdir + _T("img\\战斗中2.bmp"), { 0, 0, 30, 60 }, rc)) {
|
|
@@ -219,7 +221,7 @@ BOOL IsWattingAttack(HWND hWnd, int nAttackNPCType)
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
- DebugLog(_T("IsWattingAttack:非技能选择"));
|
|
|
|
|
|
+ //DebugLog(_T("IsWattingAttack:非技能选择"));
|
|
|
|
|
|
return bIsAttack;
|
|
return bIsAttack;
|
|
#endif
|
|
#endif
|