ソースを参照

fix(RichMan): update image of shrine

huangrunheng 3 年 前
親
コミット
87e369f2c8
3 ファイル変更、10 行追加、10 行削除
  1. 1 1
      README.md
  2. 3 3
      tasks/RichMan/assets.py
  3. 6 6
      tasks/RichMan/shrine/image.json

+ 1 - 1
README.md

@@ -64,7 +64,7 @@ This project is licensed under the GNU General Public License v3.0.
 - 你必须拥有一个 Github 账户来点一个 **Star** (这并不影响你入群后取消Star),同样的要求注册时间过半年。
 - 入群验证填入你的 Github 账号名,无需在意问题是什么。
 
-#### 开发群: 207613181
+#### QQ开发群: 207613181
 
 - 发展规划:[#54](https://github.com/runhey/OnmyojiAutoScript/issues/54)
 - OAS 继承了 Alas 的设计思路,这使得极大简便了开发,欢迎提交 Pull Requests,挑选你感兴趣的部分进行开发即可。

+ 3 - 3
tasks/RichMan/assets.py

@@ -318,11 +318,11 @@ class RichManAssets:
 	# description 
 	I_S_BUY_WHITE_FOUR = RuleImage(roi_front=(779,507,173,64), roi_back=(779,507,173,64), threshold=0.8, method="Template matching", file="./tasks/RichMan/shrine/shrine_s_buy_white_four.png")
 	# description 
-	I_S_CONFIRM_WHITE_FIVE = RuleImage(roi_front=(554,438,174,61), roi_back=(554,438,174,61), threshold=0.8, method="Template matching", file="./tasks/RichMan/shrine/shrine_s_confirm_white_five.png")
+	I_S_CONFIRM_WHITE_FIVE = RuleImage(roi_front=(554,522,174,61), roi_back=(520,416,220,193), threshold=0.8, method="Template matching", file="./tasks/RichMan/shrine/shrine_s_confirm_white_five.png")
 	# description 
-	I_S_CONFIRM_WHITE_FOUR = RuleImage(roi_front=(552,509,176,62), roi_back=(552,509,176,62), threshold=0.8, method="Template matching", file="./tasks/RichMan/shrine/shrine_s_confirm_white_four.png")
+	I_S_CONFIRM_WHITE_FOUR = RuleImage(roi_front=(548,486,176,62), roi_back=(509,404,252,231), threshold=0.8, method="Template matching", file="./tasks/RichMan/shrine/shrine_s_confirm_white_four.png")
 	# description 
-	I_S_CONFIRM_BLACK = RuleImage(roi_front=(552,439,180,62), roi_back=(552,439,180,62), threshold=0.8, method="Template matching", file="./tasks/RichMan/shrine/shrine_s_confirm_black.png")
+	I_S_CONFIRM_BLACK = RuleImage(roi_front=(547,496,180,62), roi_back=(532,426,214,184), threshold=0.8, method="Template matching", file="./tasks/RichMan/shrine/shrine_s_confirm_black.png")
 	# description 
 	I_S_BUY_UP = RuleImage(roi_front=(762,412,56,54), roi_back=(762,412,56,54), threshold=0.8, method="Template matching", file="./tasks/RichMan/shrine/shrine_s_buy_up.png")
 	# description 

+ 6 - 6
tasks/RichMan/shrine/image.json

@@ -65,8 +65,8 @@
   {
     "itemName": "s_confirm_white_five",
     "imageName": "shrine_s_confirm_white_five.png",
-    "roiFront": "554,438,174,61",
-    "roiBack": "554,438,174,61",
+    "roiFront": "554,522,174,61",
+    "roiBack": "520,416,220,193",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"
@@ -74,8 +74,8 @@
   {
     "itemName": "s_confirm_white_four",
     "imageName": "shrine_s_confirm_white_four.png",
-    "roiFront": "552,509,176,62",
-    "roiBack": "552,509,176,62",
+    "roiFront": "548,486,176,62",
+    "roiBack": "509,404,252,231",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"
@@ -83,8 +83,8 @@
   {
     "itemName": "s_confirm_black",
     "imageName": "shrine_s_confirm_black.png",
-    "roiFront": "552,439,180,62",
-    "roiBack": "552,439,180,62",
+    "roiFront": "547,496,180,62",
+    "roiBack": "532,426,214,184",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"