添加版本号和作者,移除最后一次返回甜甜花重登 (#498)
This commit is contained in:
@@ -3,9 +3,9 @@
|
|||||||
"name": "从狗盆到甜甜花",
|
"name": "从狗盆到甜甜花",
|
||||||
"type": "collect",
|
"type": "collect",
|
||||||
"author": "花火",
|
"author": "花火",
|
||||||
"version": "1.0",
|
"version": "1.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgiVersion": "0.35.1"
|
"bgiVersion": "0.43.5"
|
||||||
},
|
},
|
||||||
"positions": [
|
"positions": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
"name": "到达甜甜花位置",
|
"name": "到达甜甜花位置",
|
||||||
"type": "collect",
|
"type": "collect",
|
||||||
"author": "花火",
|
"author": "花火",
|
||||||
"version": "1.0",
|
"version": "1.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgiVersion": "0.35.1"
|
"bgiVersion": "0.43.5"
|
||||||
},
|
},
|
||||||
"positions": [
|
"positions": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
await sleep(1000);
|
await sleep(1000);
|
||||||
click(1010, 760);
|
click(1010, 760);
|
||||||
await sleep(1000);
|
await sleep(1000);
|
||||||
}
|
} // todo:考虑添加ocr参数确保一定点击到 F
|
||||||
|
|
||||||
async function AutoPath(locationName) {
|
async function AutoPath(locationName) {
|
||||||
try {
|
try {
|
||||||
@@ -48,7 +48,9 @@
|
|||||||
log.info(`自动好感当前次数:${i + 1}/${times}`);
|
log.info(`自动好感当前次数:${i + 1}/${times}`);
|
||||||
await AutoPath('从甜甜花到狗盆');
|
await AutoPath('从甜甜花到狗盆');
|
||||||
await Feed();
|
await Feed();
|
||||||
await AutoPath('从狗盆到甜甜花');
|
if( i == times - 1) {
|
||||||
|
await AutoPath('从狗盆到甜甜花');
|
||||||
|
} //最后一次不需要返回到甜甜花
|
||||||
const estimatedCompletion = CalculateEstimatedCompletion(startFirstTime, i + 1, times);
|
const estimatedCompletion = CalculateEstimatedCompletion(startFirstTime, i + 1, times);
|
||||||
const currentTime = LogTimeTaken(startFirstTime);
|
const currentTime = LogTimeTaken(startFirstTime);
|
||||||
log.info(`当前进度:${i + 1}/${times} (${((i + 1) / times * 100).toFixed(1)}%)`);
|
log.info(`当前进度:${i + 1}/${times} (${((i + 1) / times * 100).toFixed(1)}%)`);
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 1,
|
"manifest_version": 1,
|
||||||
"name": "鸡腿好感",
|
"name": "鸡腿好感",
|
||||||
"version": "1.0",
|
"version": "1.1",
|
||||||
"description": "通过喂狗突发事件刷好感度,使用满员好感度队伍",
|
"bgiVersion": "0.43.5",
|
||||||
|
"description": "通过喂狗突发事件刷好感度,使用满员好感度队伍,每天上限10次,有概率失败可以适当增加次数",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "花火"
|
"name": "花火 & 秋云"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"settings_ui": "settings.json",
|
"settings_ui": "settings.json",
|
||||||
|
|||||||
Reference in New Issue
Block a user