mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-12 11:07:27 +08:00
[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:
@@ -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'
|
||||
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user