[Enhance] Support skill_hikari_selene

- For Arcaea 6.2.6
- New partner "Hikari & Selene Sheryl"
- Add support for the character skill `skill_hikari_selene`.
This commit is contained in:
Lost-MSth
2025-02-27 22:36:12 +08:00
parent ecfb360228
commit 3424ad67cb
5 changed files with 32 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
from .config_manager import Config
ARCAEA_SERVER_VERSION = 'v2.12.0.4'
ARCAEA_DATABASE_VERSION = 'v2.12.0.4'
ARCAEA_SERVER_VERSION = 'v2.12.0.5'
ARCAEA_DATABASE_VERSION = 'v2.12.0.5'
ARCAEA_LOG_DATBASE_VERSION = 'v1.1'

View File

@@ -517,6 +517,7 @@ class WorldSkillMixin:
'skill_mithra': self._skill_mithra,
'skill_chinatsu': self._skill_chinatsu,
'skill_salt': self._skill_salt,
'skill_hikari_selene': self._skill_hikari_selene,
}
if self.user_play.beyond_gauge == 0 and self.character_used.character_id == 35 and self.character_used.skill_id_displayed:
self._special_tempest()
@@ -725,7 +726,19 @@ class WorldSkillMixin:
if count > total:
count = total
self.character_bonus_progress_normalized = 10 * (count / total)
radio = count / total if total else 1
self.character_bonus_progress_normalized = 10 * radio
def _skill_hikari_selene(self) -> None:
'''
hikari_selene 技能,曲目结算时每满一格收集条增加 2 step 与 2 overdrive
'''
self.over_skill_increase = 0
self.prog_skill_increase = 0
if 0 < self.user_play.health <= 100:
self.over_skill_increase = int(self.user_play.health / 10) * 2
self.prog_skill_increase = int(self.user_play.health / 10) * 2
class BaseWorldPlay(WorldSkillMixin):