Skip to content

Commit

Permalink
Make Config Name Better
Browse files Browse the repository at this point in the history
  • Loading branch information
cawk committed Aug 8, 2016
1 parent edcc32d commit 0121a21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PoGo.NecroBot.Logic/ILogicSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public interface ILogicSettings

int GetMinStarDustForLevelUp { get; }
bool UseLuckyEggConstantly { get; }
int MaxBerriesToUse { get; }
int MaxBerriesToUsePerPokemon { get; }
bool UseIncenseConstantly { get; }
int UseBerriesMinCp { get; }
float UseBerriesMinIv { get; }
Expand Down
4 changes: 2 additions & 2 deletions PoGo.NecroBot.Logic/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public class GlobalSettings
public bool DetailedCountsBeforeRecycling;

[DefaultValue(3)]
public int MaxBerriesToUse;
public int MaxBerriesToUsePerPokemon;
//pokemon
[DefaultValue(true)]
public bool CatchPokemon;
Expand Down Expand Up @@ -1207,7 +1207,7 @@ public LogicSettings(GlobalSettings settings)
public bool CatchPokemon => _settings.CatchPokemon;
public bool TransferWeakPokemon => _settings.TransferWeakPokemon;
public bool DisableHumanWalking => _settings.DisableHumanWalking;
public int MaxBerriesToUse => _settings.MaxBerriesToUse;
public int MaxBerriesToUsePerPokemon => _settings.MaxBerriesToUsePerPokemon;
public float KeepMinIvPercentage => _settings.KeepMinIvPercentage;
public string KeepMinOperator => _settings.KeepMinOperator;
public int KeepMinCp => _settings.KeepMinCp;
Expand Down
2 changes: 1 addition & 1 deletion PoGo.NecroBot.Logic/Tasks/CatchPokemonTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static class CatchPokemonTask
{

AmountOfBerries++;
if (AmountOfBerries < session.LogicSettings.MaxBerriesToUse)
if (AmountOfBerries < session.LogicSettings.MaxBerriesToUsePerPokemon)
{
await
UseBerry(session,
Expand Down

0 comments on commit 0121a21

Please sign in to comment.