File size: 3,038 Bytes
5825182
 
dace851
5825182
 
581e199
 
 
 
 
 
 
 
 
55f0dce
 
 
 
 
 
 
 
 
5825182
 
 
 
 
 
 
1467c05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6d1ec51
 
 
 
 
 
 
5825182
 
 
 
 
 
 
1467c05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6d1ec51
 
 
 
 
 
 
ff5593c
dace851
ff5593c
 
 
 
dace851
ff5593c
 
 
5825182
 
 
55f0dce
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
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
104
105
106
107
108
109
110
111
from typing import Dict

from base.skill import PhysicalDamage, MagicalDamage, Skill, PureDamage

GENERAL_SKILLS: Dict[int, Skill | dict] = {
    **{
        skill_id: {
            "skill_class": MagicalDamage,
            "skill_name": "閫愪簯瀵掕晩",
            "damage_base": 40,
            "damage_rand": 17,
            "attack_power_cof": [90, 200 * 1.2],
            "skill_shield_gain": -1024
        } for skill_id in (29532, 29533, 29534, 29535)
    },
    29536: {
        "skill_class": PhysicalDamage,
        "skill_name": "閫愪簯瀵掕晩",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": [90, 200 * 1.2],
        "skill_shield_gain": -1024
    },
    22160: {
        "skill_class": PhysicalDamage,
        "skill_name": "鏄嗗惥路寮﹀垉",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": 75
    },
    22161: {
        "skill_class": MagicalDamage,
        "skill_name": "鏄嗗惥路寮﹀垉",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": 90
    },
    22162: {
        "skill_class": MagicalDamage,
        "skill_name": "鏄嗗惥路寮﹀垉",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": 90
    },
    22163: {
        "skill_class": MagicalDamage,
        "skill_name": "鏄嗗惥路寮﹀垉",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": 90
    },
    22164: {
        "skill_class": MagicalDamage,
        "skill_name": "鏄嗗惥路寮﹀垉",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": 90
    },
    33257: {
        "skill_class": PhysicalDamage,
        "skill_name": "鍒冨噷",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": [60, 100, 60, 100, 100]
    },
    33258: {
        "skill_class": MagicalDamage,
        "skill_name": "鍒冨噷",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": [50, 100]
    },
    33259: {
        "skill_class": MagicalDamage,
        "skill_name": "鍒冨噷",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": [50, 100]
    },
    33260: {
        "skill_class": MagicalDamage,
        "skill_name": "鍒冨噷",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": [50, 100]
    },
    33261: {
        "skill_class": MagicalDamage,
        "skill_name": "鍒冨噷",
        "damage_base": 40,
        "damage_rand": 17,
        "attack_power_cof": [50, 100]
    },
    37562: {
        "skill_class": PureDamage,
        "skill_name": "鏄嗗惥路寮﹀垉",
        "damage_base": 145300
    },
    37561: {
        "skill_class": PureDamage,
        "skill_name": "鍒冨噷",
        "damage_base": 96900,
    },
}

for skill_id, detail in GENERAL_SKILLS.items():
    GENERAL_SKILLS[skill_id] = detail.pop('skill_class')(skill_id)
    GENERAL_SKILLS[skill_id].activate = False
    for attr, value in detail.items():
        setattr(GENERAL_SKILLS[skill_id], attr, value)