Spaces:
Runtime error
Runtime error
File size: 1,858 Bytes
dbae951 |
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 |
from typing import Dict
from base.attribute import Attribute
from base.gain import Gain
from base.skill import Skill
class ζΈε²³(Gain):
def add_skills(self, skills: Dict[int, Skill]):
for skill_id in (22604, 22605, 36267, 36268):
skills[skill_id].skill_damage_addition += 410
def sub_skills(self, skills: Dict[int, Skill]):
for skill_id in (22604, 22605, 36267, 36268):
skills[skill_id].skill_damage_addition -= 410
class ηθ(Gain):
def add_skills(self, skills: Dict[int, Skill]):
for skill_id in (22490, 22554, 36265, 36266):
skills[skill_id].extra_damage_addition += 256
def sub_skills(self, skills: Dict[int, Skill]):
for skill_id in (22490, 22554, 36265, 36266):
skills[skill_id].extra_damage_addition -= 256
class ηεΈ(Gain):
def add_attribute(self, attribute: Attribute):
attribute.agility_gain += 102
def sub_attribute(self, attribute: Attribute):
attribute.agility_gain -= 102
TALENT_GAINS: Dict[int, Gain] = {
22557: Gain("ζζ"),
22560: Gain("η§ι"),
22562: Gain("ιͺθ¦"),
26760: Gain("ιζ¨"),
22586: Gain("ζζ"),
22571: Gain("ι£ιͺ¨"),
23309: Gain("ει"),
22575: ζΈε²³("ζΈε²³"),
22579: ηθ("ηθ"),
29166: Gain("ι£εε转"),
22583: ηεΈ("ηεΈ"),
22593: Gain("ηΎθ"),
22587: Gain("εΏζ"),
22596: Gain("εΎ΅ι"),
22603: Gain("ιε±±ε
±ζ"),
30849: Gain("ε€θ·―")
}
TALENTS = [
[22557, 22560],
[22562],
[26760, 22586],
[22571],
[23309],
[22575],
[22579],
[29166, 22583],
[22593],
[22587],
[22596],
[22603, 30849]
]
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()}
|