Skip to content

Commit d8bd287

Browse files
v9.19.0
1 parent 738e10b commit d8bd287

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

hearthstone/enums.py

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

14511451
@property
14521452
def is_standard(self):
1453-
return self in ZodiacYear.PEGASUS.standard_card_sets
1453+
return self in ZodiacYear.RAPTOR.standard_card_sets
14541454

14551455

14561456
class CardType(IntEnum):
@@ -2670,6 +2670,7 @@ class ZodiacYear(IntEnum):
26702670
HYDRA = 7
26712671
WOLF = 8
26722672
PEGASUS = 9
2673+
RAPTOR = 10
26732674

26742675
@property
26752676
def standard_card_sets(self):

hearthstone/utils/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,12 @@
199199
CardSet.CORE,
200200
CardSet.BATTLE_OF_THE_BANDS, CardSet.TITANS, CardSet.WILD_WEST,
201201
CardSet.EVENT, CardSet.WHIZBANGS_WORKSHOP, CardSet.ISLAND_VACATION,
202-
CardSet.SPACE, CardSet.EVENT, CardSet.EMERALD_DREAM, CardSet.THE_LOST_CITY
202+
CardSet.SPACE, CardSet.EVENT,
203+
],
204+
ZodiacYear.RAPTOR: [
205+
CardSet.CORE, CardSet.EVENT,
206+
CardSet.WHIZBANGS_WORKSHOP, CardSet.ISLAND_VACATION, CardSet.SPACE,
207+
CardSet.EMERALD_DREAM, CardSet.THE_LOST_CITY,
203208
],
204209
}
205210

@@ -222,6 +227,7 @@
222227
ZodiacYear.HYDRA: datetime(2022, 4, 12),
223228
ZodiacYear.WOLF: datetime(2023, 4, 11),
224229
ZodiacYear.PEGASUS: datetime(2024, 3, 19),
230+
ZodiacYear.RAPTOR: datetime(2025, 3, 25),
225231
}
226232

227233

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.18.0
3+
version = 9.19.0
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)