pkNX/pkNX.Randomization/Randomizers/Settings/LearnSettings.cs
Kurt 11e5bdbb88 Add persistent rand settings
save to xml with version name
2018-11-24 23:50:40 -08:00

38 lines
1.5 KiB
C#

using System;
using System.ComponentModel;
namespace pkNX.Randomization
{
[Serializable]
public class LearnSettings
{
private const string General = nameof(General);
private const string Misc = nameof(Misc);
[Category(General), Description("Expands the learnset to the specified count.")]
public bool Expand { get; set; } = true;
[Category(General), Description("Count to expand the learnset to.")]
public int ExpandTo { get; set; } = 25;
[Category(General), Description("Evenly spreads learned moves out from level 1 to the specified end level.")]
public bool Spread { get; set; } = true;
[Category(General), Description("Level to end learning level up moves.")]
public int SpreadTo { get; set; } = 75;
[Category(General), Description("Requires a certain percent of moves to have STAB.")]
public bool STAB { get; set; }
[Category(General), Description("Required percent of moves having STAB.")]
public decimal STABPercent { get; set; }
[Category(Misc), Description("Reorders moves so that moves are learned with increasing power.")]
public bool OrderByPower { get; set; } = true;
[Category(Misc), Description("Requires the first move learned to be STAB.")]
public bool STABFirst { get; set; } = true;
[Category(Misc), Description("Requires 4 moves to be available at level 1.")]
public bool Learn4Level1 { get; set; } = false;
}
}