mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-10-31 06:49:59 +08:00
fixed # 新增本地部署脚本,一键生成对应平台的压缩包内容
This commit is contained in:
@@ -11,7 +11,8 @@ def season_duration(plot: Plot) -> int:
|
||||
|
||||
|
||||
def spawn_interval(plot: Plot) -> int:
|
||||
return max(3600, (season_duration(plot) + 3) // 4)
|
||||
"""至少留出两小时,每半个基础生长周期才发生一次虫害。"""
|
||||
return max(7200, (season_duration(plot) + 1) // 2)
|
||||
|
||||
|
||||
def start_growth(plot: Plot, now: int) -> Plot:
|
||||
|
||||
Reference in New Issue
Block a user