Files
COC_API/app/game/models/weapons.py
2025-11-02 19:46:47 -06:00

21 lines
443 B
Python

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