Skip to content

Commit

Permalink
Rename EvolveAll to EvolvePokemon task name
Browse files Browse the repository at this point in the history
  • Loading branch information
achretien committed Aug 2, 2016
1 parent 2378aee commit 3cfa209
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 18 deletions.
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
2 changes: 1 addition & 1 deletion configs/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "TransferPokemon"
},
{
"type": "EvolveAll",
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
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 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
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pokemongo_bot.item_list import Item
from pokemongo_bot.cell_workers.base_task import BaseTask

class EvolveAll(BaseTask):
class EvolvePokemon(BaseTask):
def initialize(self):
self.api = self.bot.api
self.evolve_all = self.config.get('evolve_all', [])
Expand Down

0 comments on commit 3cfa209

Please sign in to comment.