mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-15 06:14:35 +01:00
Initial commit
This commit is contained in:
21
game_server/resource/configdb/stigmata_data.py
Normal file
21
game_server/resource/configdb/stigmata_data.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from dataclasses import dataclass
|
||||
from game_server.resource.base_resource import BaseResource
|
||||
from game_server.resource.decorators import GameResource
|
||||
|
||||
@dataclass
|
||||
@GameResource("resources/ExcelOutputAsset/StigmataData.json")
|
||||
class StigmataData(BaseResource):
|
||||
ID: int
|
||||
maxLv: int
|
||||
rarity: int
|
||||
maxRarity: int
|
||||
evoID: int
|
||||
quality: int
|
||||
isSecurityProtect: bool
|
||||
protect: bool
|
||||
|
||||
def on_load(self) -> bool:
|
||||
return self.evoID == 0
|
||||
|
||||
def get_index(self) -> str:
|
||||
return str(self.ID)
|
||||
Reference in New Issue
Block a user