simaple.preset
Provides everythong about job-unspecific character configuration.
Includes:
gearset
hyperstat
link
union squad (occupation & block)
level
level_stat (Stat increment from level)
simaple.preset.base
preset.py
Job independant description about character. Give gearset / hyperstat / link / union / inner-ability attached property.
- class simaple.optimizer.preset.Preset(*, gearset: Gearset, hyperstat: Hyperstat, links: LinkSkillset, union_squad: UnionSquad, union_occupation: UnionOccupation, level: int, level_stat: Stat)[source]
-
- get_action_stat() ActionStat[source]
- hyperstat: Hyperstat
- level: int
- links: LinkSkillset
- union_occupation: UnionOccupation
- union_squad: UnionSquad
- class simaple.optimizer.preset.PresetOptimizer(*, union_block_count: int, default_stat: Stat, level: int, damage_logic: DamageLogic, character_job_type: JobType, alternate_character_job_types: List[JobType], link_count: int, buff_duration_preempted: bool = False)[source]
An opitmization-target class, which yields optimized Preset object via method
create_optimal_preset_from_gearset.Optimzation may not optimal; also takes long time (more than 1 minute).
- buff_duration_preempted: bool
- calculate_optimal_union_occupation(reference_stat: Stat, occupation_count: int) UnionOccupation[source]
- calculate_optimal_weapon_potential(reference_stat: Stat, weapon_potential_tiers) Tuple[Potential, Potential, Potential][source]
- create_optimal_preset_from_gearset(gearset_prototype: Gearset) Preset[source]
Return optimal preset, based on given gearset
gearset_prototype.
- damage_logic: DamageLogic
- level: int
- link_count: int
- union_block_count: int