diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 68d6ab56..28be3b49 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -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; }