mirror of
https://github.com/kwsch/pkNX.git
synced 2026-04-15 06:05:48 -05:00
File scoped namespaces for all lib projects netstandard2.0 => net6; now uniform. bye netframework!
36 lines
1.3 KiB
C#
36 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
|
|
namespace pkNX.Randomization;
|
|
|
|
[Serializable]
|
|
[TypeConverter(typeof(ExpandableObjectConverter))]
|
|
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; } = 25;
|
|
|
|
[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;
|
|
}
|