From 4ee5539779dc9f5f86d43916b29eeda0e08053a5 Mon Sep 17 00:00:00 2001 From: Jack Brown Date: Fri, 10 Nov 2023 17:09:03 +0000 Subject: [PATCH] Add 'total' as a skill to process level, rank and xp the same way we do for skills. --- OSRSBytes/Hiscores.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSRSBytes/Hiscores.py b/OSRSBytes/Hiscores.py index 36ff0e5..96e3375 100644 --- a/OSRSBytes/Hiscores.py +++ b/OSRSBytes/Hiscores.py @@ -182,6 +182,7 @@ def __parseSkills(self): subset['total'] = info self.__skills = [ + 'total', 'attack', 'defense', 'strength', @@ -353,7 +354,6 @@ def __parseData(self): # Prep data for parsing self.__parsed_data = self.data.split("\n") - self.__parsed_data.pop(0) # remove totals section self.__parseSkills()