This commit is contained in:
2023-11-12 04:48:15 +03:00
parent 79094621bc
commit 9e0923c25d
39 changed files with 1184 additions and 83 deletions

37
src/types/weapons.py Normal file
View File

@@ -0,0 +1,37 @@
from typing import List
from pydantic import BaseModel
class AscendItem(BaseModel):
name: str
count: int
class Costs(BaseModel):
ascend1: List[AscendItem]
ascend2: List[AscendItem]
ascend3: List[AscendItem]
ascend4: List[AscendItem]
ascend5: List[AscendItem]
ascend6: List[AscendItem]
class Weapon(BaseModel):
name: str
description: str
weapontype: str
rarity: str
story: str
baseatk: int
substat: str
subvalue: str
effectname: str
effect: str
r1: List[str]
r2: List[str]
r3: List[str]
r4: List[str]
r5: List[str]
weaponmaterialtype: str
costs: Costs