diff --git a/hearthstone/enums.py b/hearthstone/enums.py index 6188d8b..9d6ac6d 100644 --- a/hearthstone/enums.py +++ b/hearthstone/enums.py @@ -1155,6 +1155,11 @@ def default_hero(self): def is_playable(self): return self != CardClass.WHIZBANG and self.default_hero + @property + def visiting_tourist(self): + from .utils import VISITING_TOURISTS + return VISITING_TOURISTS.get(self, None) + @property def name_global(self): return "GLOBAL_CLASS_%s" % (self.name) diff --git a/hearthstone/utils/__init__.py b/hearthstone/utils/__init__.py index bd75a6d..ca88ed7 100644 --- a/hearthstone/utils/__init__.py +++ b/hearthstone/utils/__init__.py @@ -113,6 +113,20 @@ CardClass.WARRIOR: 0, } +VISITING_TOURISTS = { + CardClass.DEATHKNIGHT: "VAC_503", + CardClass.DRUID: "VAC_340", + CardClass.HUNTER: "VAC_957", + CardClass.MAGE: "VAC_519", + CardClass.PALADIN: "VAC_424", + CardClass.PRIEST: "VAC_501", + CardClass.ROGUE: "VAC_507", + CardClass.SHAMAN: "VAC_437", + CardClass.WARLOCK: "VAC_336", + CardClass.WARRIOR: "VAC_413", + CardClass.DEMONHUNTER: "VAC_450", +} + CRAFTING_COSTS = { Rarity.COMMON: (40, 400),