@@ -33,15 +33,15 @@ class SwitchSoulAssets:
3333 # 退出式神录
3434 I_RECORD_SOUL_BACK = RuleImage (roi_front = (19 ,9 ,51 ,44 ), roi_back = (19 ,9 ,51 ,44 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_record_soul_back.png" )
3535 # 预设
36- I_SOUL_PRESET = RuleImage (roi_front = (332 , 70 ,90 ,51 ), roi_back = (332 , 70 , 90 , 51 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_soul_preset.png" )
36+ I_SOUL_PRESET = RuleImage (roi_front = (335 , 73 ,90 ,51 ), roi_back = (310 , 57 , 169 , 72 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_soul_preset.png" )
3737 # description
38- I_SOU_SWITCH_1 = RuleImage (roi_front = (971 ,148 , 37 , 35 ), roi_back = (971 , 148 , 37 , 35 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_1.png" )
38+ I_SOU_SWITCH_1 = RuleImage (roi_front = (971 ,149 , 34 , 32 ), roi_back = (962 , 141 , 51 , 48 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_1.png" )
3939 # description
40- I_SOU_SWITCH_2 = RuleImage (roi_front = (978 , 304 , 27 , 29 ), roi_back = (978 , 304 , 27 , 29 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_2.png" )
40+ I_SOU_SWITCH_2 = RuleImage (roi_front = (967 , 296 , 42 , 39 ), roi_back = (961 , 292 , 54 , 49 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_2.png" )
4141 # description
42- I_SOU_SWITCH_3 = RuleImage (roi_front = (973 , 454 , 26 , 26 ), roi_back = (973 , 454 , 26 , 26 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_3.png" )
42+ I_SOU_SWITCH_3 = RuleImage (roi_front = (968 , 448 , 41 , 38 ), roi_back = (962 , 442 , 52 , 48 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_3.png" )
4343 # description
44- I_SOU_SWITCH_4 = RuleImage (roi_front = (971 , 600 , 37 , 26 ), roi_back = (971 , 600 , 37 , 26 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_4.png" )
44+ I_SOU_SWITCH_4 = RuleImage (roi_front = (967 , 597 , 42 , 25 ), roi_back = (962 , 592 , 53 , 34 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_4.png" )
4545 # description
4646 I_SOU_SWITCH_SURE = RuleImage (roi_front = (668 ,401 ,180 ,61 ), roi_back = (668 ,401 ,180 ,61 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_switch_sure.png" )
4747 # 用于判断是否在式神录里面
@@ -64,6 +64,8 @@ class SwitchSoulAssets:
6464 I_SOU_TEAM_PRESENT = RuleImage (roi_front = (737 ,82 ,148 ,43 ), roi_back = (727 ,71 ,165 ,63 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_team_present.png" )
6565 # 需要切换的预设按钮(颜色深一点)
6666 I_SOU_CLICK_PRESENT = RuleImage (roi_front = (967 ,305 ,43 ,22 ), roi_back = (965 ,142 ,48 ,480 ), threshold = 0.9 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_sou_click_present.png" )
67+ # 误触点到式神检查
68+ I_CHECK_BLOCK = RuleImage (roi_front = (572 ,408 ,137 ,49 ), roi_back = (572 ,408 ,137 ,49 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/Component/SwitchSoul/ss/ss_check_block.png" )
6769
6870
6971 # Ocr Rule Assets
0 commit comments