File size: 1,657 Bytes
a2a5d31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
581e199
a2a5d31
 
 
 
 
 
 
 
581e199
a2a5d31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
581e199
a2a5d31
 
 
 
17a347d
a2a5d31
 
 
 
 
 
c255694
a2a5d31
 
 
 
5fb9ac4
581e199
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
        }
    },
    24553: {
        "buff_name": "灭影追风",
        "gain_attributes": {
            "physical_overcome_gain": 102,
            "physical_critical_strike_gain": 1000,
            "physical_critical_power_gain": 100
        }
    },
    24557: {
        "buff_name": "戗风",
        "gain_skills": {
            skill_id: {
                "skill_damage_addition": 154,
            }
            for skill_id in [32602, 32603, 32604] + [32234] + [32235, 32236, 32237, 32238, 32239, 32891, 32892]
        }
    },
    24180: {
        "buff_name": "镇机",
        "gain_skills": {
            skill_id: {
                "skill_damage_addition": [123, 246, 369, 492, 614, 737]
            } for skill_id in (32167, 32348)
        }
    },
    24209: {
        "buff_name": "流岚",
        "gain_attributes": {
            "all_shield_ignore": 410
        }
    },
    -24056: {
        "buff_name": "涤瑕",
        "activate": False,
        "gain_skills": {
            24443: {
                "attack_power_cof_gain": [1 + 0.1 * (i + 1) for i in range(6)]
            }
        }
    }
}

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