mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Change "Some" EV train rating from [0,127] to (0,127]
This commit is contained in:
parent
6b6a517214
commit
24d6c0d713
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ namespace PKHeX.Core.Searching
|
||||||
public static IEnumerable<PKM> FilterByEVs(IEnumerable<PKM> res, int option) => option switch
|
public static IEnumerable<PKM> FilterByEVs(IEnumerable<PKM> res, int option) => option switch
|
||||||
{
|
{
|
||||||
1 => res.Where(pk => pk.EVTotal == 0), // None (0)
|
1 => res.Where(pk => pk.EVTotal == 0), // None (0)
|
||||||
2 => res.Where(pk => pk.EVTotal < 128), // Some (127-0)
|
2 => res.Where(pk => pk.EVTotal is (not 0) and < 128), // Some (127-0)
|
||||||
3 => res.Where(pk => pk.EVTotal is >= 128 and < 508), // Half (128-507)
|
3 => res.Where(pk => pk.EVTotal is >= 128 and < 508), // Half (128-507)
|
||||||
4 => res.Where(pk => pk.EVTotal >= 508), // Full (508+)
|
4 => res.Where(pk => pk.EVTotal >= 508), // Full (508+)
|
||||||
_ => res
|
_ => res
|
||||||
|
|
2
PKHeX.WinForms/Subforms/SAV_Database.Designer.cs
generated
2
PKHeX.WinForms/Subforms/SAV_Database.Designer.cs
generated
|
@ -463,7 +463,7 @@
|
||||||
this.CB_EVTrain.Items.AddRange(new object[] {
|
this.CB_EVTrain.Items.AddRange(new object[] {
|
||||||
"Any",
|
"Any",
|
||||||
"None (0)",
|
"None (0)",
|
||||||
"Some (127-0)",
|
"Some (127-1)",
|
||||||
"Half (128-507)",
|
"Half (128-507)",
|
||||||
"Full (508+)"});
|
"Full (508+)"});
|
||||||
this.CB_EVTrain.Location = new System.Drawing.Point(83, 146);
|
this.CB_EVTrain.Location = new System.Drawing.Point(83, 146);
|
||||||
|
|
Loading…
Reference in a new issue