Просмотр исходного кода

fix(task): Sometime oas click chat content randomly due to the 'Click_Win1' is scope is too large

ryland 3 лет назад
Родитель
Сommit
31cd6fa44f
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      tasks/Component/GeneralBattle/assets.py
  2. 2 2
      tasks/Component/GeneralBattle/finish_click.json

+ 1 - 1
tasks/Component/GeneralBattle/assets.py

@@ -12,7 +12,7 @@ class GeneralBattleAssets:
 
 
 	# Click Rule Assets
 	# Click Rule Assets
 	# description 
 	# description 
-	C_WIN_1 = RuleClick(roi_front=(175,40,1054,161), roi_back=(175,40,1054,161), name="win_1")
+	C_WIN_1 = RuleClick(roi_front=(175,102,1054,99), roi_back=(175,102,1054,99), name="win_1")
 	# description 
 	# description 
 	C_WIN_2 = RuleClick(roi_front=(22,112,210,496), roi_back=(22,112,210,496), name="win_2")
 	C_WIN_2 = RuleClick(roi_front=(22,112,210,496), roi_back=(22,112,210,496), name="win_2")
 	# description 
 	# description 

+ 2 - 2
tasks/Component/GeneralBattle/finish_click.json

@@ -1,8 +1,8 @@
 [
 [
   {
   {
     "itemName": "win_1",
     "itemName": "win_1",
-    "roiFront": "175,40,1054,161",
-    "roiBack": "175,40,1054,161",
+    "roiFront": "175,102,1054,99",
+    "roiBack": "175,102,1054,99",
     "description": "description"
     "description": "description"
   },
   },
   {
   {