同步git
This commit is contained in:
1 parent
60b3f20831
commit
31a03f57a2
1 file changed
+29
+29
@@ -0,0 +1,29 @@
|
||||
while (true) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// --- 根據 Config 呼叫對應的 Task ---
|
||||
if (config.sellProduct) Tasks.sellProduct(img);
|
||||
|
||||
if (config.upgradeFacility) Tasks.upgradeFacility(img);
|
||||
|
||||
if (config.upgradeRecipe) Tasks.upgradeRecipe(img);
|
||||
|
||||
if (config.Photo) Tasks.takePhoto(img);
|
||||
|
||||
// 獎勵領取類
|
||||
if (config.receiveAFK || config.receiveJar || config.receiveMerchant) {
|
||||
Tasks.collectRewards(img);
|
||||
}
|
||||
|
||||
if (config.receiveButterfly || config.receiveFrog) {
|
||||
Tasks.randomRewards(img);
|
||||
}
|
||||
|
||||
// --- 結束本輪 ---
|
||||
img.recycle();
|
||||
sleep(200);
|
||||
}
|
||||
Reference in new issue
Block a user