ango
5.11 commit
5fb9ac4
from typing import Dict
from base.gain import Gain
from base.skill import Skill
class 青撅嗅(Gain):
def add_skills(self, skills: Dict[int, Skill]):
for skill_id in (6234, 6554):
skills[skill_id].skill_critical_strike += 1000
skills[skill_id].skill_critical_power += 102
def sub_skills(self, skills: Dict[int, Skill]):
for skill_id in (6234, 6554):
skills[skill_id].skill_critical_strike -= 1000
skills[skill_id].skill_critical_power -= 102
class ζƒŠε―’(Gain):
def add_skills(self, skills: Dict[int, Skill]):
skills[30524].skill_damage_addition += 154
skills[6559].skill_damage_addition += 154
def sub_skills(self, skills: Dict[int, Skill]):
skills[30524].skill_damage_addition -= 154
skills[6559].skill_damage_addition -= 154
class εƒι‡Œε†°ε°(Gain):
def add_skills(self, skills: Dict[int, Skill]):
skills[2716].skill_critical_strike += 1000
skills[2716].skill_critical_power += 102
def sub_skills(self, skills: Dict[int, Skill]):
skills[2716].skill_critical_strike -= 1000
skills[2716].skill_critical_power -= 102
TALENT_GAINS: Dict[int, Gain] = {
6569: Gain("ζ˜Žε¦ƒ"),
5849: 青撅嗅("青撅嗅"),
5869: ζƒŠε―’("ζƒŠε―’"),
5868: εƒι‡Œε†°ε°("εƒι‡Œε†°ε°"),
5852: Gain("新妆"),
37316: Gain("θŠ³ε§Ώη•…ιŸ³"),
5864: Gain("ζž•δΈŠ"),
23935: Gain("εΉΏι™΅ζœˆ"),
34604: Gain("ζ΅ηŽ‰"),
22732: Gain("钗燕"),
24995: Gain("η›ˆθ’–"),
24996: Gain("εŒ–ε†°"),
14934: Gain("倜倩"),
34603: Gain("ε‡εŽ")
}
TALENTS = [
[6569, 5849],
[5869],
[5852],
[37316],
[5864],
[23935],
[34604],
[22732],
[24995],
[24996],
[14934],
[34603]
]
TALENT_DECODER = {talent_id: talent.gain_name for talent_id, talent in TALENT_GAINS.items()}
TALENT_ENCODER = {v: k for k, v in TALENT_DECODER.items()}