mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
bb6e45db60
Extract PP verifier Add disabling of wordfilter for formats < 6 Add context-specific bypasses for nickname/handler checks
15 lines
696 B
C#
15 lines
696 B
C#
using System.ComponentModel;
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
[TypeConverter(typeof(ExpandableObjectConverter))]
|
|
public sealed class FramePatternSettings
|
|
{
|
|
[LocalizedDescription("Severity to flag a Legality Check if the RNG Frame Checking logic does not find a match for Generation 3 encounters.")]
|
|
public Severity RNGFrameNotFound3 { get; set; } = Severity.Fishy;
|
|
|
|
[LocalizedDescription("Severity to flag a Legality Check if the RNG Frame Checking logic does not find a match for Generation 4 encounters.")]
|
|
public Severity RNGFrameNotFound4 { get; set; } = Severity.Invalid;
|
|
|
|
public Severity GetSeverity(byte generation) => generation == 3 ? RNGFrameNotFound3 : RNGFrameNotFound4;
|
|
}
|