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