21 lines
715 B
Python
21 lines
715 B
Python
from dataclasses import dataclass
|
|
|
|
@dataclass
|
|
class Class():
|
|
name:str
|
|
satk:float
|
|
sdef:float
|
|
sint:float
|
|
sspd:float
|
|
code:str=''
|
|
emoji:str=''
|
|
attrs:list=[]
|
|
inherent:list=[]
|
|
default_skills:list=[]
|
|
allowed_skills:list=[]
|
|
|
|
guardian=Class('Guardian', 0.95,1.1,1.0,1.0, 'gd','🛡', ['amelee','tmelee','counter'], [skill.initialguard], [skill.ally_guard, skill.attack], [skill.ally_guard_plus, skill.all_guard, skill.counterattack2, skill.counterattack3])
|
|
|
|
warrior=Class('Warrior', 1.3,1.0,0.9,1.1, 'wa','🗡', ['amelee','tmelee','counter'], [], [skill.attack], [skill.attack2, skill.charge, skill.light_attack])
|
|
|
|
archer=Class('Archer', 1.2,1.0,1.0,0.95, 'ar','🏹', ['aranged','tranged'], [], [skill.attack], |