修改代码

This commit is contained in:
黄志军
2021-11-19 10:00:41 +08:00
parent c7f300716d
commit 0e9eecf9d3
+3
View File
@@ -638,6 +638,9 @@ async function getExtraAward() {
await masterHelpTaskInitForFarm();
await masterGotFinishedTaskForFarm();
console.log(JSON.stringify($.masterHelpResult))
message += "<font color=\'#778899\' size=2>【额外奖励】" + `${$.masterHelpResult}` + "g水领取成功</font>\n\n";
message += "<font color=\'#778899\' size=2>【额外奖励】" + `${$.masterGotFinished}` + "g水领取成功</font>\n\n";
//修改为一定会去尝试领取额外奖励
if ($.masterGotFinished.code === '0') {
that.log(`已成功领取好友助力奖励:【${$.masterGotFinished.amount}】g水`);