Explorar el Código

fix(task): update realm_raid in version 66

runhey hace 3 años
padre
commit
e1bee52a3d

+ 1 - 1
tasks/GameUi/assets.py

@@ -41,7 +41,7 @@ class GameUiAssets:
 	# description 
 	I_EXPLORATION_GOTO_SOUL_ZONE = RuleImage(roi_front=(151,637,55,55), roi_back=(151,637,55,55), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_soul_zone.png")
 	# description 
-	I_EXPLORATION_GOTO_REALM_RAID = RuleImage(roi_front=(245,638,67,48), roi_back=(245,638,67,48), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_realm_raid.png")
+	I_EXPLORATION_GOTO_REALM_RAID = RuleImage(roi_front=(248,636,67,48), roi_back=(229,612,102,87), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_realm_raid.png")
 	# 前往御灵 
 	I_EXPLORATION_GOTO_GORYOU_REALM = RuleImage(roi_front=(353,639,47,45), roi_back=(346,626,60,67), threshold=0.7, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_goryou_realm.png")
 	# 式神委派 

BIN
tasks/GameUi/page/page_exploration_goto_realm_raid.png


+ 2 - 2
tasks/GameUi/page/page_img.json

@@ -47,8 +47,8 @@
   {
     "itemName": "exploration_goto_realm_raid",
     "imageName": "page_exploration_goto_realm_raid.png",
-    "roiFront": "245,638,67,48",
-    "roiBack": "245,638,67,48",
+    "roiFront": "248,636,67,48",
+    "roiBack": "229,612,102,87",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"

BIN
tasks/RealmRaid/res/res_rr_person.png


+ 1 - 1
tasks/RealmRaid/script_task.py

@@ -442,7 +442,7 @@ if __name__ == "__main__":
     device = Device(config)
     t = ScriptTask(config, device)
 
-    t.run_2()
+    t.run()
 
     # print(t.find_one())
     # target, order = t.find_one()