From b5ddb9985064454622443553ddd00550a3465261 Mon Sep 17 00:00:00 2001 From: Benedict Etzel Date: Fri, 12 Apr 2024 12:03:00 +0200 Subject: [PATCH] fix: drop broken function that should've been removed --- hearthstone/cardxml.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hearthstone/cardxml.py b/hearthstone/cardxml.py index ebd31ef..43f8353 100644 --- a/hearthstone/cardxml.py +++ b/hearthstone/cardxml.py @@ -197,14 +197,6 @@ def max_count_in_deck(self): return 1 return 2 - @property - def requirements(self): - ret = {} - for power in self.powers: - for reqid, req in power.get("requirements", {}).items(): - ret[reqid] = req - return ret - @property def quest_reward(self): from .utils import QUEST_REWARDS