diff --git a/pokecli.py b/pokecli.py index ef50212d9f..064c87c9ba 100644 --- a/pokecli.py +++ b/pokecli.py @@ -404,22 +404,6 @@ def _json_loader(filename): type=bool, default=True, ) - add_config( - parser, - load, - long_flag="--catch_randomize_reticle_factor", - help="Randomize factor for pokeball throwing accuracy (DEFAULT 1.0 means no randomize: always 'Excellent' throw. 0.0 randomizes between normal and 'Excellent' throw)", - type=float, - default=1.0 - ) - add_config( - parser, - load, - long_flag="--catch_randomize_spin_factor", - help="Randomize factor for pokeball curve throwing (DEFAULT 1.0 means no randomize: always perfect 'Super Spin' curve ball. 0.0 randomizes between normal and 'Super Spin' curve ball)", - type=float, - default=1.0 - ) add_config( parser, load, @@ -539,14 +523,6 @@ def task_configuration_error(flag_name): parser.error("Needs either --use-location-cache or --location.") return None - if config.catch_randomize_reticle_factor < 0 or 1 < config.catch_randomize_reticle_factor: - parser.error("--catch_randomize_reticle_factor is out of range! (should be 0 <= catch_randomize_reticle_factor <= 1)") - return None - - if config.catch_randomize_spin_factor < 0 or 1 < config.catch_randomize_spin_factor: - parser.error("--catch_randomize_spin_factor is out of range! (should be 0 <= catch_randomize_spin_factor <= 1)") - return None - plugin_loader = PluginLoader() for plugin in config.plugins: plugin_loader.load_plugin(plugin)