File size: 2,510 Bytes
1467c05
 
 
 
 
 
 
 
 
 
 
 
 
 
581e199
1467c05
 
 
 
581e199
1467c05
 
 
17a347d
581e199
1467c05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17a347d
1467c05
 
 
 
 
 
 
 
 
 
 
 
 
17a347d
1467c05
 
 
 
 
 
 
17a347d
1467c05
 
 
 
 
c255694
1467c05
 
 
 
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
from base.buff import Buff
from general.buffs import GENERAL_BUFFS

BUFFS = {
    1436: {
        "buff_name": "佛吼",
        "activate": False,
        "gain_attributes": {
            "magical_critical_strike_gain": 400,
            "magical_critical_power_gain": 41
        }
    },
    890: {
        "buff_name": "普渡",
        "interval": 352,
        "max_stack": 2
    },
    12479: {
        "buff_name": "普渡",
        "interval": 352,
        "max_stack": 3
    },
    19635: {
        "buff_name": "普渡",
        "interval": 4,
        "gain_attributes": {
            "magical_vulnerable": [41, 82, 123]
        }
    },
    11979: {
        "buff_name": "罗汉金身",
        "gain_attributes": {
            "magical_attack_power_gain": 308,
            "magical_overcome_gain": 308
        }
    },
    2686: {
        "buff_name": "擒龙诀",
        "gain_attributes": {
            "magical_attack_power_gain": 204
        }
    },
    10023: {
        "buff_name": "伏魔",
        "gain_attributes": {
            "all_damage_addition": 102
        }
    },
    12590: {
        "buff_name": "三生",
        "gain_attributes": {
            "magical_attack_power_gain": [82, 164, 246]
        }
    },
    24285: {
        "buff_name": "金刚日轮",
        "gain_attributes": {
            "magical_critical_strike_gain": 600,
            "magical_critical_power_gain": 62
        }
    },
    13910: {
        "buff_name": "众嗔",
        "frame_shift": -2,
        "gain_skills": {
            skill_id: {
                "skill_damage_addition": 205
            } for skill_id in (3848, 3849, 3850, 3814, 3816, 13685)
        }
    },
    24453: {
        "buff_name": "贪破",
        "gain_attributes": {
            "surplus_gain": -30
        }
    },
    28296: {
        "buff_name": "布泽",
        "gain_skills": {
            skill_id: {
                "skill_pve_addition": 820
            } for skill_id in (17641, 3848, 3849, 3850, 236, 3810, 271, 743)
        }
    },
    1919: {
        "buff_name": "桑莲妙境",
        "gain_skills": {
            skill_id: {
                "skill_damage_addition": 922
            } for skill_id in (3848, 3849, 3850, 271)
        }
    }
}

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