config_battle.py 439 B

1234567891011
  1. # This Python file uses the following encoding: utf-8
  2. # @author runhey
  3. # github https://github.com/runhey
  4. from pydantic import BaseModel, Field
  5. from tasks.Component.GeneralBattle.config_general_battle import GreenMarkType, GeneralBattleConfig
  6. from tasks.Component.config_base import dynamic_hide
  7. class BattleConfig(GeneralBattleConfig):
  8. hide_fields = dynamic_hide('lock_team_enable', 'preset_enable', 'preset_group', 'preset_team')