diff --git a/genshin/models/starrail/chronicle/challenge.py b/genshin/models/starrail/chronicle/challenge.py index a765cee2..cf4304b7 100644 --- a/genshin/models/starrail/chronicle/challenge.py +++ b/genshin/models/starrail/chronicle/challenge.py @@ -155,10 +155,16 @@ def __unnest_groups(cls, values: Dict[str, Any]) -> Dict[str, Any]: class APCShadowFloorNode(FloorNode): """Node for a apocalyptic shadow floor.""" + challenge_time: Optional[PartialTime] buff: Optional[ChallengeBuff] score: int boss_defeated: bool + @property + def has_data(self) -> bool: + """Check if the node has data.""" + return bool(self.avatars) + class APCShadowFloor(StarRailChallengeFloor): """Floor in an apocalyptic shadow challenge."""