Spaces:
Runtime error
Runtime error
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()}
|