|
@@ -574,20 +574,20 @@ SRAND(80,120);
|
|
|
SRAND(500, 850);
|
|
|
}
|
|
|
|
|
|
- if (IsSPBelowSafeValue(TRUE, TRUE, 15))
|
|
|
+ if (IsSPBelowSafeValue(TRUE, TRUE, 30))
|
|
|
{
|
|
|
GameGlobal::DebugLog(_T("低SP安全值"));
|
|
|
// 右键;
|
|
|
- MouseMove({ (GameAssist::g_rcRoleIdleSP.right + GameAssist::g_rcRoleIdleSP.left) / 2 - 3, (GameAssist::g_rcRoleIdleSP.bottom + GameAssist::g_rcRoleIdleSP.top) / 2 - 20 });
|
|
|
- MouseRClick({ (GameAssist::g_rcRoleIdleSP.right + GameAssist::g_rcRoleIdleSP.left) / 2 - 3, (GameAssist::g_rcRoleIdleSP.bottom + GameAssist::g_rcRoleIdleSP.top) / 2 - 20 });
|
|
|
+ MouseMove({ (GameAssist::g_rcRoleIdleSP.right + GameAssist::g_rcRoleIdleSP.left) / 2 , (GameAssist::g_rcRoleIdleSP.bottom + GameAssist::g_rcRoleIdleSP.top) / 2 });
|
|
|
+ MouseRClick({ (GameAssist::g_rcRoleIdleSP.right + GameAssist::g_rcRoleIdleSP.left) / 2 , (GameAssist::g_rcRoleIdleSP.bottom + GameAssist::g_rcRoleIdleSP.top) / 2 });
|
|
|
}
|
|
|
|
|
|
if (bHasSummoner && IsSPBelowSafeValue(FALSE, TRUE, 10))
|
|
|
{
|
|
|
GameGlobal::DebugLog(_T("低SP安全值"));
|
|
|
// 右键;
|
|
|
- MouseMove({ (GameAssist::g_rcSummonerIdleSP.right + GameAssist::g_rcSummonerIdleSP.left) / 2 - 3, (GameAssist::g_rcSummonerIdleSP.bottom + GameAssist::g_rcSummonerIdleSP.top) / 2 - 20 });
|
|
|
- MouseRClick({ (GameAssist::g_rcSummonerIdleSP.right + GameAssist::g_rcSummonerIdleSP.left) / 2 - 3, (GameAssist::g_rcSummonerIdleSP.bottom + GameAssist::g_rcSummonerIdleSP.top) / 2 - 20 });
|
|
|
+ MouseMove({ (GameAssist::g_rcSummonerIdleSP.right + GameAssist::g_rcSummonerIdleSP.left) / 2 , (GameAssist::g_rcSummonerIdleSP.bottom + GameAssist::g_rcSummonerIdleSP.top) / 2 });
|
|
|
+ MouseRClick({ (GameAssist::g_rcSummonerIdleSP.right + GameAssist::g_rcSummonerIdleSP.left) / 2 , (GameAssist::g_rcSummonerIdleSP.bottom + GameAssist::g_rcSummonerIdleSP.top) / 2 });
|
|
|
}
|
|
|
|
|
|
// 非战斗中,是否在贫民房中;
|
|
@@ -1148,8 +1148,8 @@ SRAND(80,120);
|
|
|
{
|
|
|
//DebugLog(_T("低SP安全值"));
|
|
|
// 右键;
|
|
|
- MouseMove({ (GameAssist::g_rcRoleIdleSP.right + GameAssist::g_rcRoleIdleSP.left) / 2 - 3, (GameAssist::g_rcRoleIdleSP.bottom + GameAssist::g_rcRoleIdleSP.top) / 2 - 20 });
|
|
|
- MouseRClick({ (GameAssist::g_rcRoleIdleSP.right + GameAssist::g_rcRoleIdleSP.left) / 2 - 3, (GameAssist::g_rcRoleIdleSP.bottom + GameAssist::g_rcRoleIdleSP.top) / 2 - 20 });
|
|
|
+ MouseMove({ (GameAssist::g_rcRoleIdleSP.right + GameAssist::g_rcRoleIdleSP.left) / 2 , (GameAssist::g_rcRoleIdleSP.bottom + GameAssist::g_rcRoleIdleSP.top) / 2 });
|
|
|
+ MouseRClick({ (GameAssist::g_rcRoleIdleSP.right + GameAssist::g_rcRoleIdleSP.left) / 2 , (GameAssist::g_rcRoleIdleSP.bottom + GameAssist::g_rcRoleIdleSP.top) / 2 });
|
|
|
}
|
|
|
}
|
|
|
|