ango
5.11 commit
5fb9ac4
raw
history blame contribute delete
906 Bytes
from typing import Dict
from base.buff import Buff
from general.buffs import GENERAL_BUFFS
BUFFS: Dict[int, Buff | dict] = {
16025: {
"buff_name": "雷引",
"activate": False,
"gain_attributes": {
"physical_critical_strike_gain": 400,
"physical_critical_power_gain": 41
}
},
26857: {
"buff_name": "承契",
"gain_attributes": {
"all_damage_addition": 62
}
},
27099: {
"buff_name": "诸怀",
"gain_attributes": {
"all_shield_ignore": 205,
"physical_attack_power_gain": 102
}
},
}
for buff_id, detail in BUFFS.items():
BUFFS[buff_id] = Buff(buff_id)
for attr, value in detail.items():
setattr(BUFFS[buff_id], attr, value)
for buff_id, buff in GENERAL_BUFFS.items():
if buff_id not in BUFFS:
BUFFS[buff_id] = buff