From 569e327619200c86fbac1140bc4c73a5e232f620 Mon Sep 17 00:00:00 2001 From: koderx Date: Wed, 1 Mar 2023 20:50:51 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'main.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 2d9dfb0..aed9a2b 100644 --- a/main.js +++ b/main.js @@ -1,7 +1,8 @@ (function(){ const timeout = 1000 * 5 //5秒点一次 - let blackList = ['雕像','神殿'] // 部分只能建造一个的建筑需要跳过 + let blackList = initBlackList() // 部分只能建造一个的建筑需要跳过 + let initBlackList = () => ['雕像','神殿'] const houseList = ['房屋', '市政厅', '宅邸'] // 会减少食物的建筑 var css = `