Skip to content

Commit 72e4f66

Browse files
v9.20.1
1 parent f9a220a commit 72e4f66

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

hearthstone/enums.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,7 @@ def short_name_global(self):
15291529

15301530
@property
15311531
def is_standard(self):
1532-
return self in ZodiacYear.RAPTOR.standard_card_sets
1532+
return self in ZodiacYear.SCARAB.standard_card_sets
15331533

15341534

15351535
class CardType(IntEnum):
@@ -2756,6 +2756,7 @@ class ZodiacYear(IntEnum):
27562756
WOLF = 8
27572757
PEGASUS = 9
27582758
RAPTOR = 10
2759+
SCARAB = 11
27592760

27602761
@property
27612762
def standard_card_sets(self):

hearthstone/utils/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,11 @@
206206
CardSet.WHIZBANGS_WORKSHOP, CardSet.ISLAND_VACATION, CardSet.SPACE,
207207
CardSet.EMERALD_DREAM, CardSet.THE_LOST_CITY, CardSet.TIME_TRAVEL, CardSet.CATACLYSM
208208
],
209+
ZodiacYear.SCARAB: [
210+
CardSet.CORE, CardSet.EVENT,
211+
CardSet.EMERALD_DREAM, CardSet.THE_LOST_CITY, CardSet.TIME_TRAVEL,
212+
CardSet.CATACLYSM
213+
],
209214
}
210215

211216

@@ -228,6 +233,7 @@
228233
ZodiacYear.WOLF: datetime(2023, 4, 11),
229234
ZodiacYear.PEGASUS: datetime(2024, 3, 19),
230235
ZodiacYear.RAPTOR: datetime(2025, 3, 25),
236+
ZodiacYear.SCARAB: datetime(2026, 3, 17),
231237
}
232238

233239

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = hearthstone
3-
version = 9.20.0
3+
version = 9.20.1
44
description = CardDefs.xml parser and Hearthstone enums for Python
55
long_description = file: README.md
66
long_description_content_type=text/markdown

0 commit comments

Comments
 (0)