Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot stop farm because is under attack #70

Open
alex92251 opened this issue Feb 1, 2024 · 1 comment
Open

Bot stop farm because is under attack #70

alex92251 opened this issue Feb 1, 2024 · 1 comment

Comments

@alex92251
Copy link

Anyone know how to disable this? my village is under fake attacks and bot stop farming because of this, but no where is the option to disable this.

@TrimPeachu
Copy link

I just skimmed trough the code so I might be wrong, but I would try deleting condition and not self.def_man.under_attack on line 440 of game/village.py

  if (
      self.get_config(section="farms", parameter="farm", default=False)
      and not self.def_man.under_attack #Delete this
  ):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants