Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
Allow enter 101 in SnipeIV filter
Browse files Browse the repository at this point in the history
  • Loading branch information
samuraitruong committed Jan 2, 2017
1 parent e6cf99f commit 824cf56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FeroxRev
Submodule FeroxRev updated 1 files
+1 −1 Rpc/Player.cs
4 changes: 2 additions & 2 deletions PoGo.NecroBot.CLI/BotDataSocketClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ private static void OnPokemonData(ISession session, string message)
session.EventDispatcher.Send(data);
if (session.LogicSettings.AllowAutoSnipe)
{
var move1 = PokemonMove.Absorb;
var move2 = PokemonMove.Absorb;
var move1 = PokemonMove.MoveUnset;
var move2 = PokemonMove.MoveUnset;
Enum.TryParse<PokemonMove>(data.Move1, true, out move1);
Enum.TryParse<PokemonMove>(data.Move1, true, out move2);
ulong encounterid = 0;
Expand Down
2 changes: 1 addition & 1 deletion PoGo.NecroBot.Logic/Model/Settings/SnipeFIlter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public SnipeFilter(int snipeMinIV, List<List<PokemonMove>> moves = null) :base

[ExcelConfig(Key = "Snipe Min IV" , Description ="Min Pokemon IV for auto snipe", Position =2)]
[DefaultValue(76)]
[Range(0, 100)]
[Range(0, 101)]
[JsonProperty(Required = Required.DisallowNull, DefaultValueHandling = DefaultValueHandling.Populate, Order = 1)]
public int SnipeIV {get; set;}

Expand Down

0 comments on commit 824cf56

Please sign in to comment.