AngoHF's picture
5.7 commit
c255694
from typing import Dict
from base.buff import Buff
from base.gain import Gain
from base.skill import Skill
class ηƒŸιœž(Gain):
def add_skills(self, skills: Dict[int, Skill]):
skills[14941].skill_critical_strike += 1000
skills[14941].skill_critical_power += 102
def sub_skills(self, skills: Dict[int, Skill]):
skills[14941].skill_critical_strike -= 1000
skills[14941].skill_critical_power -= 102
class 青冠(Gain):
def add_buffs(self, buffs: Dict[int, Buff]):
buffs[-32489].activate = True
def sub_buffs(self, buffs: Dict[int, Buff]):
buffs[-32489].activate = False
TALENT_GAINS: Dict[int, Gain] = {
5756: ηƒŸιœž("ηƒŸιœž"),
32489: 青冠("青冠"),
17510: Gain("ε€šε€©"),
37267: Gain("咨桷临源"),
21744: Gain("折花"),
32477: Gain("ι›ͺ中葌"),
16855: Gain("清桁"),
26692: Gain("ι’Ÿη΅"),
6682: Gain("桁离"),
32480: Gain("ι›ͺεΌƒ"),
32469: Gain("η„šηŽ‰"),
14643: Gain("梓桁")
}
TALENTS = [
[5756],
[32489],
[17510],
[37267],
[21744],
[32477],
[16855],
[26692],
[6682],
[32480],
[32469],
[14643]
]
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()}