Преглед изворни кода

Merge pull request #1794 from yEs1do/fix(SoulsTidy_LevelZero)

御魂清理任务修复识别条件
huangrunheng пре 2 месеци
родитељ
комит
b2d66588a6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tasks/SoulsTidy/script_task.py

+ 1 - 1
tasks/SoulsTidy/script_task.py

@@ -142,7 +142,7 @@ class ScriptTask(GameUi, SoulsTidyAssets):
                     if firvel is None or firvel == '':
                         logger.info('ocr result is Null')
                         continue
-                    if firvel != '古':
+                    if (firvel != '古') and (firvel != '+0'):
                         # 问就是 把 +0 识别成了 古
                         logger.info('No zero level, bongna done')
                         break