Milestone

This commit is contained in:
2025-02-16 22:50:39 -07:00
parent 6888b55612
commit 76cb82acd9
9 changed files with 144 additions and 11 deletions

View File

@ -50,8 +50,6 @@ class FlyffCharacterStatusNode(BaseNode):
exp_value = 0.0
if len(lines) >= 4:
print("Processing OCR Lines:", lines) # Debugging output
# line 1: HP
hp_match = re.search(r"(\d+)\s*/\s*(\d+)", lines[0])
if hp_match:
@ -85,7 +83,7 @@ class FlyffCharacterStatusNode(BaseNode):
Called periodically to update character status from OCR.
"""
raw_text = data_collector.get_raw_text(self.region_id)
print("Raw OCR Text:", raw_text) # Debugging OCR text reading
# print("Raw OCR Text:", raw_text) # Debugging OCR text reading
hp_c, hp_t, mp_c, mp_t, fp_c, fp_t, exp_v = self.parse_character_stats(raw_text)