add summon unit & maze buff & refactor battle

This commit is contained in:
Naruse
2025-04-16 21:31:18 +08:00
parent f0e41e3258
commit cfd9f3cb99
11 changed files with 164 additions and 42 deletions

View File

@@ -104,7 +104,7 @@ class AvatarData(BaseDatabaseData):
rank=get_equipment.rank if get_equipment else 0
)
],
relic_list = [
relic_list=[
player.inventory_manager.get(relic_id).RelicBattleProto()
for type, relic_id in self.relic_ids.items()
if relic_id > 0

View File

@@ -34,7 +34,7 @@ class PlayerData(BaseDatabaseData):
current_gender: Gender = Gender.GenderMan
level: int = 70
exp: int = 0
world_level: int = 0
world_level: int = 6
scoin: int = 0 # Credits
hcoin: int = 0 # Jade
mcoin: int = 0 # Crystals