mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-30 07:50:32 +00:00
95fbf66a6e
In addition to the Method 1 (and other sibling PIDIV types) correlation, an encounter can only be triggered if the calls prior land on the Method {1} seed. The RNG community has dubbed these patterns as "Method J" (D/P/Pt), "Method K" (HG/SS), and "Method H" (Gen3, coined by yours truly). The basic gist of these is that they are pre-requisites, like the Shadow locks of Colosseum/XD. Rename/re-type a bunch of properties to get the codebase more in line with correct property names & more obvious underlying types.
72 lines
1.8 KiB
C#
72 lines
1.8 KiB
C#
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Interface containing details relevant for battling.
|
|
/// </summary>
|
|
public interface IBattleTemplate : ISpeciesForm, IGigantamaxReadOnly, IDynamaxLevelReadOnly, INatureReadOnly, ITeraTypeReadOnly
|
|
{
|
|
/// <summary>
|
|
/// <see cref="PKM.Context"/> of the Set entity it is specific to.
|
|
/// </summary>
|
|
EntityContext Context { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.Nickname"/> of the Set entity.
|
|
/// </summary>
|
|
string Nickname { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.Gender"/> name of the Set entity.
|
|
/// </summary>
|
|
byte? Gender { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.HeldItem"/> of the Set entity.
|
|
/// </summary>
|
|
int HeldItem { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.Ability"/> of the Set entity.
|
|
/// </summary>
|
|
int Ability { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.CurrentLevel"/> of the Set entity.
|
|
/// </summary>
|
|
byte Level { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.CurrentLevel"/> of the Set entity.
|
|
/// </summary>
|
|
bool Shiny { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.CurrentFriendship"/> of the Set entity.
|
|
/// </summary>
|
|
byte Friendship { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.Form"/> name of the Set entity, stored in PKHeX style (instead of Showdown's)
|
|
/// </summary>
|
|
string FormName { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.HPType"/> of the Set entity.
|
|
/// </summary>
|
|
int HiddenPowerType { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="EffortValues"/> of the Set entity.
|
|
/// </summary>
|
|
int[] EVs { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.IVs"/> of the Set entity.
|
|
/// </summary>
|
|
int[] IVs { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="PKM.Moves"/> of the Set entity.
|
|
/// </summary>
|
|
ushort[] Moves { get; }
|
|
}
|