pkNX/pkNX.Randomization/Randomizers/Settings/MovesetRandSettings.cs
Kurt 537ce93efa Initial c#8 update
pkNX.Sprites to be replaced with a pkhex.drawing dll once that is
updated with swsh stuff (when the time comes)
2019-10-15 18:47:20 -07:00

35 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace pkNX.Randomization
{
[Serializable]
public class MovesetRandSettings
{
private const string Damage = nameof(Damage);
private const string SameType = nameof(SameType);
private const string Misc = nameof(Misc);
[Category(Damage), Description("Forces the moveset to have a minimum amount of damaging moves.")]
public bool DMG { get; set; } = true;
[Category(Damage), Description("Minimum amount of damaging moves in generated movesets.")]
public int DMGCount { get; set; } = 2;
[Category(SameType), Description("Forces the moveset to have a minimum amount of STAB moves.")]
public bool STAB { get; set; } = true;
[Category(SameType), Description("Minimum amount of STAB moves in generated 4-move movesets.")]
public int STABCount { get; set; } = 2;
[Category(SameType), Description("Minimum percent of STAB moves in generated learnsets.")]
public float STABPercent { get; set; } = 100;
[Category(Misc), Description("Banned move IDs.")]
internal IList<int> BannedMoves { get; set; } = Array.Empty<int>();
[Category(Misc), Description("Prevents Pokémon movesets from containing fixed damage moves.")]
public bool BanFixedDamageMoves { get; set; } = true;
}
}