File size: 2,483 Bytes
17a347d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
from typing import Dict

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

GENERAL_SKILLS: Dict[int, Skill | dict] = {
    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)