This commit is contained in:
2025-03-12 09:36:26 +08:00
parent b98464d8b5
commit 6053fba1da
22 changed files with 286 additions and 228 deletions
+3 -1
View File
@@ -569,7 +569,9 @@ class Character:
def createCharacter(alter: str, equVersion: str = '0'):
character: Character = None
module_name = 'core.characters.' + alter
module_name = 'core.character.' + alter
if equVersion is None or equVersion == '':
equVersion = '0'
try:
character = importlib.import_module(module_name).classChange(equVersion)
except Exception as ex: