File size: 2,136 Bytes
5fb9ac4
 
 
 
 
 
 
 
 
 
 
 
581e199
 
 
 
5fb9ac4
 
 
 
 
 
 
 
 
581e199
 
 
 
5fb9ac4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
581e199
 
 
 
 
 
 
 
 
 
 
5fb9ac4
581e199
5fb9ac4
 
 
 
 
581e199
 
 
 
 
 
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
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
from base.buff import Buff
from general.buffs import GENERAL_BUFFS

BUFFS = {
    1428: {
        "buff_name": "军啸",
        "activate": False,
        "gain_attributes": {
            "physical_critical_strike_gain": 400,
            "physical_critical_power_gain": 41
        }
    },
    -1: {
        "buff_name": "战意",
        "max_stack": 5
    },
    6121: {
        "buff_name": "驰骋",
        "gain_attributes": {
            "physical_attack_power_gain": [154, 307]
        }
    },
    6363: {
        "buff_name": "激雷",
        "gain_attributes": {
            "physical_attack_power_gain": [205, 0, 205, 0],
            "physical_overcome_gain": [205, 0, 205, 0],
            "physical_critical_strike_gain": [0, 3000, 3000, 3000],
            "all_shield_ignore": [0, 0, 0, 717]
        }
    },
    14981: {
        "buff_name": "百折",
        "gain_attributes": {
            "all_damage_addition": 307
        }
    },
    7671: {
        "buff_name": "牧云",
        "gain_attributes": {
            "physical_critical_strike_gain": 300,
            "physical_critical_power_gain": 102
        }
    },
    21638: {
        "buff_name": "龙驭",
        "gain_attributes": {
            "all_damage_addition": 72
        }
    },
    -12608: {
        "buff_name": "风虎",
        "activate": False,
        "interval": 16,
        "gain_skills": {
            skill_id: {
                "skill_damage_addition": [51, 102, 154, 205, 256]
            } for skill_id in [18207] + [18603] + [18773, 15002] + [702, 24898, 6526]
        }
    },
    -26008: {
        "buff_name": "战心",
        "interval": 4,
        "gain_skills": {
            3442: {
                "attack_power_cof_gain": 1.2
            }
        }
    },
    -28169: {
        "buff_name": "龙印",
        "interval": 480,
        "max_stack": 3
    },
}

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