File size: 906 Bytes
6e6388e
 
a67101c
 
 
6e6388e
a67101c
 
ff5593c
a67101c
 
 
 
 
 
 
 
 
 
6d09f00
 
 
 
 
 
 
 
a67101c
 
 
c255694
a67101c
 
 
 
5fb9ac4
 
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
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