Abyss Models
abyss
Classes:
-
Abyss–Represents a full Spiral Abyss cycle configuration.
-
AbyssData–Represents data for either the Abyss Corridor or the Abyssal Moon Spire.
-
AbyssEnemy–Represents an enemy that can appear in the Spiral Abyss.
-
AbyssEnemyProperty–Represents a base property of an enemy found in the Spiral Abyss.
-
AbyssResponse–Represents the complete response for Spiral Abyss data.
-
Blessing–Represents the Benediction of the Abyssal Moon (Blessing) for a Spiral Abyss cycle.
-
ChallengeTarget–Represents the challenge targets for a Spiral Abyss chamber (e.g., time limits).
-
Chamber–Represents a single chamber within a Spiral Abyss floor.
-
Floor–Represents a floor within the Spiral Abyss (either Corridor or Spire).
-
LeyLineDisorder–Represents a Ley Line Disorder effect active on a Spiral Abyss floor.
Abyss
pydantic-model
Represents a full Spiral Abyss cycle configuration.
Attributes:
-
id(int) –The unique ID identifying this Spiral Abyss cycle.
-
open_time(datetime) –The start date and time of this cycle.
-
close_time(datetime) –The end date and time of this cycle.
-
blessing(Blessing) –The Benediction of the Abyssal Moon active during this cycle.
-
abyss_corridor(AbyssData) –Data for the Abyss Corridor floors (usually 1-8).
-
abyssal_moon_spire(AbyssData) –Data for the Abyssal Moon Spire floors (usually 9-12).
Fields:
-
id(int) -
open_time(datetime) -
close_time(datetime) -
blessing(Blessing) -
abyss_corridor(AbyssData) -
abyssal_moon_spire(AbyssData)
Validators:
-
_format_open_time→open_time -
_format_close_time→close_time -
_format_blessing→blessing
AbyssData
pydantic-model
Represents data for either the Abyss Corridor or the Abyssal Moon Spire.
Attributes:
-
open_time(datetime | None) –The time when this specific section (usually Spire) becomes available (optional).
-
floors(list[Floor]) –A list of floors within this section.
Fields:
Validators:
-
_format_open_time→open_time
AbyssEnemy
pydantic-model
Represents an enemy that can appear in the Spiral Abyss.
Attributes:
-
icon(str) –The icon URL for the enemy.
-
id(int) –The unique ID of the enemy.
-
link(bool) –A boolean indicating if there's a link available (purpose unclear).
-
name(str) –The name of the enemy.
-
properties(list[AbyssEnemyProperty]) –A list of base properties (like HP, ATK, DEF) and their growth curves.
Fields:
Validators:
-
_convert_icon_url→icon -
_convert_properties→properties
AbyssEnemyProperty
pydantic-model
Represents a base property of an enemy found in the Spiral Abyss.
Attributes:
-
initial_value(float) –The base value of the property at level 1.
-
type(str) –The identifier string for the property (e.g., "FIGHT_PROP_BASE_HP").
-
growth_type(str) –The identifier string for the property's growth curve.
Fields:
-
initial_value(float) -
type(str) -
growth_type(str)
AbyssResponse
pydantic-model
Represents the complete response for Spiral Abyss data.
Attributes:
-
enemies(dict[str, AbyssEnemy]) –A dictionary mapping enemy IDs to their details (AbyssEnemy).
-
abyss_items(list[Abyss]) –A list containing data for one or more Spiral Abyss cycles (Abyss).
Fields:
-
enemies(dict[str, AbyssEnemy]) -
abyss_items(list[Abyss])
Validators:
-
_convert_enemies→enemies -
_convert_abyss_items→abyss_items
Blessing
pydantic-model
Represents the Benediction of the Abyssal Moon (Blessing) for a Spiral Abyss cycle.
Attributes:
-
description(str) –The description of the blessing's effect.
-
level_config_name(str) –Internal configuration name for the blessing.
-
visible(bool) –Whether the blessing is currently visible or active.
Fields:
ChallengeTarget
pydantic-model
Represents the challenge targets for a Spiral Abyss chamber (e.g., time limits).
Attributes:
-
type(str) –A format string describing the challenge type (e.g., "Challenge time limit: {}s").
-
values(list[int]) –A list of numerical values corresponding to the targets (e.g., time limits for 1, 2, 3 stars).
Fields:
Chamber
pydantic-model
Represents a single chamber within a Spiral Abyss floor.
Attributes:
-
id(int) –The ID of the chamber (usually 1, 2, or 3).
-
challenge_target(ChallengeTarget) –The challenge targets (e.g., time limits) for this chamber.
-
enemy_level(int) –The base level of the enemies in this chamber.
-
wave_one_enemies(list[int]) –A list of enemy IDs appearing in the first half/wave.
-
wave_two_enemies(list[int] | None) –An optional list of enemy IDs appearing in the second half/wave.
Fields:
-
id(int) -
challenge_target(ChallengeTarget) -
enemy_level(int) -
wave_one_enemies(list[int]) -
wave_two_enemies(list[int] | None)
Floor
pydantic-model
Represents a floor within the Spiral Abyss (either Corridor or Spire).
Attributes:
-
id(int) –The ID of the floor (e.g., 9, 10, 11, 12).
-
chambers(list[Chamber]) –A list of chambers within this floor.
-
ley_line_disorders(list[LeyLineDisorder]) –A list of Ley Line Disorders active on this floor.
-
override_enemy_level(int) –An optional override for the enemy level on this floor.
-
team_num(int) –The number of teams required for this floor (usually 1 or 2).
Fields:
LeyLineDisorder
pydantic-model
Represents a Ley Line Disorder effect active on a Spiral Abyss floor.
Attributes:
-
description(str) –The description of the disorder's effect.
-
level_config_name(str) –Internal configuration name for the disorder.
-
visible(bool) –Whether the disorder is currently visible or active.
Fields: