File size: 1,947 Bytes
dace851
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5fb9ac4
 
 
 
 
 
 
 
 
 
dace851
 
 
 
5fb9ac4
dace851
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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()}