Skip to content

Commit

Permalink
feat: update enums
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Oct 10, 2024
1 parent b522e58 commit 0f18894
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
18 changes: 16 additions & 2 deletions hearthstone/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ class GameTag(IntEnum):
MULTIPLE_CLASSES = 476
ALL_TARGETS_RANDOM = 477
MULTI_CLASS_GROUP = 480
CARD_COSTS_HEALTH = 481
GRIMY_GOONS = 482
JADE_LOTUS = 483
KABAL = 484
Expand Down Expand Up @@ -774,10 +773,10 @@ class GameTag(IntEnum):
CARDTEXT_ENTITY_AS_NUMBERS = 2802
BACON_DOUBLE_QUEST_HERO_POWER = 2803
MERCENARIES_TREASURE_SCALE_LEVEL = 2810
CARD_COSTS_ARMOR = 2811
FINALE = 2820
OVERHEAL = 2821
BACON_BLOODGEMBUFFHEALTHVALUE = 2827
CARD_ALTERNATE_COST = 2837
EMOTECHARACTER = 2839
HAS_ACTIVATE_POWER = 2840
EMOTECLASS = 2851
Expand Down Expand Up @@ -887,7 +886,10 @@ class GameTag(IntEnum):
BACON_TRIPLED_BASE_MINION_ID2 = 3499
BACON_TRIPLED_BASE_MINION_ID3 = 3500
QUEST_HIDE_PROGRESS = 3523
STARSHIP = 3555
TRANSFORM = 3562
LAUNCHPAD = 3563
STARSHIP_PIECE = 3568
CORNER_REPLACEMENT_TYPE = 3564
BACON_IS_MAGIC_ITEM_DISCOVER = 3565
ROGUE_TOURIST = 3597
Expand All @@ -901,6 +903,8 @@ class GameTag(IntEnum):
DRUID_TOURIST = 3605
MAGE_TOURIST = 3606
PALADIN_TOURIST = 3607
TAG_LAUNCHPAD_ABILITY = 3628
STARSHIP_LAUNCH_COST_DISCOUNT = 3640
BACON_DONT_SHOW_PAIR_TRIPLE_DISCOVER_VFX = 3661
FALLBACK_ENCHANTMENT_PORTRAIT_DBID = 3664
SHOW_SLEEP_ZZZ_OVERRIDE = 3672
Expand All @@ -918,13 +922,19 @@ class GameTag(IntEnum):
BACON_HERO_FIRST_TRINKET_LEADERBOARD_SDN1 = 3805
BACON_HERO_SECOND_TRINKET_LEADERBOARD_SDN1 = 3806
BACON_HERO_HEROPOWER_TRINKET_LEADERBOARD_SDN1 = 3807
DEMON_PORTAL_DECK = 3808
BACON_HERO_FIRST_TRINKET_LEADERBOARD_SDN2 = 3812
BACON_HERO_SECOND_TRINKET_LEADERBOARD_SDN2 = 3813
BACON_HERO_HEROPOWER_TRINKET_LEADERBOARD_SDN2 = 3814
BACON_HERO_FIRST_TRINKET_LEADERBOARD_ALT_TEXT = 3815
BACON_HERO_SECOND_TRINKET_LEADERBOARD_ALT_TEXT = 3816
BACON_HERO_HEROPOWER_TRINKET_LEADERBOARD_ALT_TEXT = 3817
SKIP_ARMOR_ANIMATION = 3837
DRAW_SPELL_OVERRIDE = 3841
DRAENEI_TRIGGER_HINT = 3847
MILL_SPELL_OVERRIDE = 3854
CREATED_AS_ON_PLAY_REPLACEMENT = 3882
SHIFTING_TOP = 3894

InvisibleDeathrattle = 335
ImmuneToSpellpower = 349
Expand Down Expand Up @@ -1062,6 +1072,8 @@ class GameTag(IntEnum):
MERCS_DISCOVER = 2665
TOPDECK = 377
DECK_RULE_COUNT_AS_COPY_OF_CARD_ID = 1413
CARD_COSTS_HEALTH = 481
CARD_COSTS_ARMOR = 2811

# Missing/guessed, only present in logs
# Note: the names of these can change at any time!
Expand Down Expand Up @@ -1262,6 +1274,7 @@ class CardSet(IntEnum):
WHIZBANGS_WORKSHOP = 1897
TUTORIAL = 1904
ISLAND_VACATION = 1905 # Perils in Paradise
SPACE = 1935 # Great Dark Beyond
EVENT = 1941

# Not actually present...
Expand Down Expand Up @@ -1313,6 +1326,7 @@ def craftable(self):
CardSet.WONDERS,
CardSet.WHIZBANGS_WORKSHOP,
CardSet.ISLAND_VACATION,
CardSet.SPACE,
)

@property
Expand Down
1 change: 1 addition & 0 deletions hearthstone/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
CardSet.CORE,
CardSet.BATTLE_OF_THE_BANDS, CardSet.TITANS, CardSet.WILD_WEST,
CardSet.EVENT, CardSet.WHIZBANGS_WORKSHOP, CardSet.ISLAND_VACATION,
CardSet.SPACE,
],
}

Expand Down

0 comments on commit 0f18894

Please sign in to comment.