mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 13:54:43 +01:00
feat: Implement stigmata standard reroll
This commit is contained in:
15
game_server/resource/configdb/affix_list.py
Normal file
15
game_server/resource/configdb/affix_list.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from dataclasses import dataclass
|
||||
from game_server.resource.base_resource import BaseResource
|
||||
from game_server.resource.decorators import GameResource
|
||||
|
||||
@dataclass
|
||||
@GameResource("resources/ExcelOutputAsset/AffixList.json")
|
||||
class AffixListData(BaseResource):
|
||||
affixID: int
|
||||
level: int
|
||||
|
||||
def on_load(self) -> bool:
|
||||
return self.level == 3
|
||||
|
||||
def get_index(self) -> str:
|
||||
return str(self.affixID)
|
||||
Reference in New Issue
Block a user