adding weapon gen
This commit is contained in:
21
app/game/models/weapons.py
Normal file
21
app/game/models/weapons.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass, asdict
|
||||
from typing import Any, Dict, List, Tuple, Optional
|
||||
|
||||
@dataclass
|
||||
class Weapon:
|
||||
uid: str
|
||||
item_level: int
|
||||
char_level: int
|
||||
base_id: str
|
||||
base_name: str
|
||||
rarity: str
|
||||
name: str
|
||||
min_dmg: int
|
||||
max_dmg: int
|
||||
speed: float
|
||||
affixes: List[Dict[str, Any]]
|
||||
implicits: List[Dict[str, Any]]
|
||||
stats: Dict[str, float]
|
||||
value_sell: int
|
||||
Reference in New Issue
Block a user