config_battle.py 651 B

1234567891011121314
  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
  6. class BattleConfig(BaseModel):
  7. # 是否开启绿标
  8. green_enable: bool = Field(default=False, description='green_enable_help')
  9. # 选哪一个绿标
  10. green_mark: GreenMarkType = Field(default=GreenMarkType.GREEN_LEFT1, description='green_mark_help')
  11. # 是否启动战斗时随机点击或者随机滑动
  12. random_click_swipt_enable: bool = Field(default=False, description='random_click_swipt_enable_help')