
Citizen.set_default_weapon() - eRepublik should return list with all available weapon qualities, but when a battle is just launched, they return only dict with barehands Citizen.fight() - no longer calls self.set_default_weapon() Citizen.find_battle_and_fight() - now calls self.set_default_weapon() just before fighting Citizen.update_war_info() - returns previous battle list if responses 'last_updated' isn't more than 30s old New: Citizen.get_battle_for_war(war_id) - returns Battle instance for specific war, if battle is active for given war
================ eRepublik script ================ .. image:: https://img.shields.io/pypi/v/erepublik.svg :target: https://pypi.python.org/pypi/erepublik .. image:: https://readthedocs.org/projects/erepublik/badge/?version=latest :target: https://erepublik.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status Python package for automated eRepublik playing * Free software: MIT license * Documentation: https://erepublik.readthedocs.io/en/latest/ Features -------- * TODO Credits ------- This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template. .. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
Description
Languages
Python
99.1%
Makefile
0.9%