Milestone
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user