|
|
@@ -104,7 +104,7 @@ export class FarmCountDown extends cc.Component {
|
|
|
this.counting = false;
|
|
|
this.normalGroup.active = false;
|
|
|
let sick = false;
|
|
|
- if (gData.gameData.playerProp.completeFarmTaskTimes >= 1 && Math.random() < 0.2) {
|
|
|
+ if (gData.gameData.playerProp.completeFarmTaskTimes >= 1 && Math.random() < parseFloat(gData.gameData.configs.ServerConfig.StopProduction)) {
|
|
|
if (this.productConfig.tab == ProductType.nzw) {
|
|
|
if (gData.gameData.RawInsectCurArr[0] < parseInt(gData.gameData.RawInsectArr[0])) {
|
|
|
sick = true;
|