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

Refactor evolve_all worker #2244

Merged
merged 12 commits into from
Aug 2, 2016
13 changes: 8 additions & 5 deletions configs/config.json.cluster.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@
"type": "TransferPokemon"
},
{
"type": "EvolveAll",
"type": "EvolvePokemon",
"config": {
"evolve_all": "NONE",
"evolve_cp_min": 300,
"evolve_speed": 20,
"use_lucky_egg": false
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
Expand Down
13 changes: 8 additions & 5 deletions configs/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@
"type": "TransferPokemon"
},
{
"type": "EvolveAll",
"type": "EvolvePokemon",
"config": {
"evolve_all": "NONE",
"evolve_cp_min": 300,
"evolve_speed": 20,
"use_lucky_egg": false
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
Expand Down
13 changes: 8 additions & 5 deletions configs/config.json.path.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@
"type": "TransferPokemon"
},
{
"type": "EvolveAll",
"type": "EvolvePokemon",
"config": {
"evolve_all": "NONE",
"evolve_cp_min": 300,
"evolve_speed": 20,
"use_lucky_egg": false
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
Expand Down
13 changes: 8 additions & 5 deletions configs/config.json.pokemon.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@
"type": "TransferPokemon"
},
{
"type": "EvolveAll",
"type": "EvolvePokemon",
"config": {
"evolve_all": "NONE",
"evolve_cp_min": 300,
"evolve_speed": 20,
"use_lucky_egg": false
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/pokemon.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pokemongo_bot/cell_workers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from catch_lured_pokemon import CatchLuredPokemon
from catch_visible_pokemon import CatchVisiblePokemon
from evolve_all import EvolveAll
from evolve_pokemon import EvolvePokemon
from incubate_eggs import IncubateEggs
from move_to_fort import MoveToFort
from nickname_pokemon import NicknamePokemon
Expand Down
290 changes: 0 additions & 290 deletions pokemongo_bot/cell_workers/evolve_all.py

This file was deleted.

Loading