Formulator / general /buffs.py
AngoHF's picture
04.14 commit
5825182
raw
history blame
401 Bytes
from base.buff import Buff
GENERAL_BUFFS = {
15455: {
"buff_name": "输出伤害波动",
"gain_attributes": {
"all_damage_addition": [10, 51]
}
},
}
for buff_id, detail in GENERAL_BUFFS.items():
GENERAL_BUFFS[buff_id] = Buff(buff_id, detail.pop("buff_name"))
for attr, value in detail.items():
setattr(GENERAL_BUFFS[buff_id], attr, value)