Skip to content

Commit

Permalink
Clarify Max_distance for Sniping (#4858)
Browse files Browse the repository at this point in the history
* Clarify Max_distance

* Added distance unit and updated configuration_files.md
  • Loading branch information
Jasperrr91 authored and mjmadsen committed Aug 28, 2016
1 parent f6775cc commit 1b90f3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions configs/config.json.map.example
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
"config": {
"enabled": true,
"address": "http://localhost:5000",
"//NOTE: Change the max_distance to adjust the max sniping range (km)": {},
"max_distance": 500,
"min_ball": 50,
"prioritize_vips": true,
Expand Down
3 changes: 2 additions & 1 deletion docs/configuration_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ This task will fetch current pokemon spawns from /raw_data of an PokemonGo-Map i
* `prioritize_vips` - Will prioritize vips in distance and priority mode above all normal pokemon if set to true
* `min_time` - Minimum time the pokemon has to be available before despawn
* `min_ball` - Minimum amount of balls required to run task
* `max_distance` - Maximum distance the pokemon is allowed to be when walking, ignored when sniping
* `max_distance` - Maximum distance the pokemon is allowed to be when sniping. (km)
* `snipe`:
- `True` - Will teleport to target pokemon, encounter it, teleport back then catch it
- `False` - Will walk normally to the pokemon
Expand All @@ -573,6 +573,7 @@ This task will fetch current pokemon spawns from /raw_data of an PokemonGo-Map i
"type": "MoveToMapPokemon",
"config": {
"address": "http://localhost:5000",
"//NOTE: Change the max_distance to adjust the max sniping range (km)": {},
"max_distance": 500,
"min_time": 60,
"min_ball": 50,
Expand Down

0 comments on commit 1b90f3f

Please sign in to comment.