Skip to content

Commit

Permalink
新增了3.4新角色艾尔海森、瑶瑶的参考配置;v0.6.2发布
Browse files Browse the repository at this point in the history
  • Loading branch information
SkeathyTomas committed Feb 1, 2023
1 parent e153835 commit 0eb07b6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
14 changes: 7 additions & 7 deletions ocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ def yas_ocr():

if __name__ == '__main__':
# 截图坐标
x, y, w, h = (1684, 560, 350, 168) # 副词条
# x, y, w, h = (1684, 560, 350, 168) # 副词条
# x, y, w, h = (1948, 200, 360, 70) # 圣遗物名称
import time
start = time.time()
tesseract_ocr(x, y, w, h)
end = time.time()
print(end - start)
# yas_ocr()
# import time
# start = time.time()
# tesseract_ocr(x, y, w, h)
# end = time.time()
# print(end - start)
yas_ocr()
# import score
# print(score.cal_score(tesseract_ocr(x, y, w, h), '雷电将军'))
20 changes: 19 additions & 1 deletion src/character.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
"元素充能效率": 0.55
},
"----雷----": {},
"九岐忍": {
"久岐忍": {
"生命值": 1,
"攻击力": 0,
"防御力": 0,
Expand Down Expand Up @@ -636,5 +636,23 @@
"暴击伤害": 1,
"元素精通": 1,
"元素充能效率": 0
},
"艾尔海森": {
"生命值": 0,
"攻击力": 0.55,
"防御力": 0,
"暴击率": 1,
"暴击伤害": 1,
"元素精通": 0.75,
"元素充能效率": 0
},
"瑶瑶": {
"生命值": 1,
"攻击力": 0,
"防御力": 0,
"暴击率": 0.5,
"暴击伤害": 0.5,
"元素精通": 0,
"元素充能效率": 0.55
}
}

0 comments on commit 0eb07b6

Please sign in to comment.