forked from devsam/core
game: 유저장 자동 금쌀매매 기준 변경
- 3번 전멸하는 동안 필요한 금쌀을 모두 가지고 있을 경우 군량매매하지 않음
This commit is contained in:
@@ -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