Spaces:
Runtime error
Runtime error
File size: 1,086 Bytes
025687f 5825182 025687f b8aecdd b76daae ff5593c b76daae 025687f a67101c 025687f a67101c 025687f b8aecdd 025687f b8aecdd 5825182 |
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 |
from base.buff import Buff
from general.buffs import GENERAL_BUFFS
BUFFS = {
11378: {
"buff_name": "ζζ°",
"activate": False,
"gain_attributes": {
"physical_critical_strike_gain": 400,
"physical_critical_power_gain": 41
}
},
18384: {
"buff_name": "ε«ι£",
"gain_attributes": {
"physical_critical_strike_gain": 1000,
"physical_critical_power_gain": 102
}
},
23066: {
"buff_name": "ε«ι£",
"gain_skills": {
skill_id: {
"skill_damage_addition": 102,
}
for skill_id in (16787, 16610, 16794)
}
},
14972: {
"buff_name": "ηδ½",
"gain_attributes": {
"all_damage_addition": 205
}
}
}
for buff_id, detail in BUFFS.items():
BUFFS[buff_id] = Buff(buff_id, detail.pop("buff_name"))
for attr, value in detail.items():
setattr(BUFFS[buff_id], attr, value)
for buff_id, buff in GENERAL_BUFFS.items():
BUFFS[buff_id] = buff
|