add AIForm
This commit is contained in:
+3
-3
@@ -376,7 +376,7 @@ int __fastcall TWLDiffChip::HandleResult(int res, double wl)
|
||||
bool bLevel = false;
|
||||
TLevelRow* pRow = (TLevelRow*)pPolicy->aRows[iRank];
|
||||
if(bGlobal && !g_aGames.bFloat && !((TLevelPolicy*)pPolicy)->bInstant){//非立即升降
|
||||
if(nWLDiff >= pRow->nCondWin || nWLDiff <= pRow->nCondLos){ //达到升降条件
|
||||
if(nWLDiff >= pRow->nCondWin || nWLDiff < pRow->nCondLos){ //达到升降条件
|
||||
g_aGames.AllBetOff();
|
||||
bWait = g_aGames.nBetted[2]>0; //等待结算
|
||||
DebugPrint("wait count: %d", g_aGames.nBetted[2]);
|
||||
@@ -388,11 +388,11 @@ int __fastcall TWLDiffChip::HandleResult(int res, double wl)
|
||||
}
|
||||
|
||||
if(!bWait){
|
||||
if(nWLDiff >= pRow->nCondWin){ //赢走向
|
||||
if(nWLDiff >= pRow->nCondWin){ //赢走向,闭区间
|
||||
iRank = pRow->iWin - 1;
|
||||
bLevel = true;
|
||||
}
|
||||
else if(nWLDiff <= pRow->nCondLos){ //输走向
|
||||
else if(nWLDiff < pRow->nCondLos){ //输走向,开区间
|
||||
iRank = pRow->iLos - 1;
|
||||
bLevel = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user