game: 유저장 자동 금쌀매매 기준 변경
- 3번 전멸하는 동안 필요한 금쌀을 모두 가지고 있을 경우 군량매매하지 않음
This commit is contained in:
1 parent
1342fb5cc1
commit
79815f99fc
1 file changed
+3
@@ -2385,6 +2385,9 @@ class GeneralAI
|
||||
$tryBuying = true;
|
||||
}
|
||||
} else {
|
||||
if ($relGold >= $goldCost * 3 && $relRice >= $riceCost * 3){
|
||||
return null;
|
||||
}
|
||||
if ($relRice * 2 < $relGold && $relRice < $riceCost * 3) {
|
||||
$tryBuying = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user