File size: 1,044 Bytes
5825182
 
 
 
effe13f
5825182
 
 
 
b76daae
 
 
 
 
 
 
 
 
 
0ed027c
 
b76daae
 
5825182
 
 
c255694
b76daae
5825182
 
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
from base.buff import Buff

GENERAL_BUFFS = {
    15455: {
        "buff_name": "伤害波动",
        "gain_attributes": {
            "all_damage_addition": [10, 51]
        }
    },
    4761: {
        "buff_name": "水特效",
        "gain_attributes": {
            "physical_attack_power_base": [0] * 53 + sum([[0, 0, v, 0] for v in [67, 88, 98, 111]], []),
            "magical_attack_power_base": [0] * 53 + sum([[0, v, 0, 0] for v in [81, 105, 117, 134]], []),
        }
    },
    6360: {
        "buff_name": "风特效",
        "gain_attributes": {
            "physical_overcome_base": [0] * 99 + sum([[0] + [0, v] + [0] * 4 for v in [6408, 8330, 9291, 10573]], []),
            "magical_overcome_base": [0] * 99 + sum([[0] + [v, 0] + [0] * 4 for v in [6408, 8330, 9291, 10573]], [])
        }
    }
}

for buff_id, detail in GENERAL_BUFFS.items():
    GENERAL_BUFFS[buff_id] = Buff(buff_id)
    GENERAL_BUFFS[buff_id].activate = False
    for attr, value in detail.items():
        setattr(GENERAL_BUFFS[buff_id], attr, value)