mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-03-21 17:48:28 -05:00
gcea -> bacd_r_a
https://discord.com/channels/343093766477053953/406851200928055297/1442622561124094213
This commit is contained in:
parent
d0cf74b063
commit
2f1f08af84
|
|
@ -14,7 +14,7 @@ public sealed record EncounterGift3JPN(ushort Species, Distribution3JPN Distribu
|
|||
public Distribution3JPN Distribution { get; } = Distribution;
|
||||
public const byte Level = 10;
|
||||
|
||||
private const PIDType Method = PIDType.BACD_U_AX;
|
||||
private const PIDType Method = PIDType.BACD_R_A;
|
||||
public PIDType GetSuggestedCorrelation() => Method;
|
||||
|
||||
public byte Form => 0;
|
||||
|
|
@ -78,7 +78,7 @@ private static void SetPINGA(PK3 pk, in EncounterCriteria criteria, PersonalInfo
|
|||
var idXor = pk.TID16; // no SID
|
||||
while (true)
|
||||
{
|
||||
var pid = CommonEvent3.GetAntishiny(ref seed, idXor);
|
||||
var pid = CommonEvent3.GetRegularAntishiny(ref seed, idXor);
|
||||
if (criteria.IsSpecifiedNature() && !criteria.IsSatisfiedNature((Nature)(pid % 25)))
|
||||
continue; // try again
|
||||
if (criteria.IsSpecifiedGender() && !criteria.IsSatisfiedGender(EntityGender.GetFromPIDAndRatio(pid, gr)))
|
||||
|
|
@ -156,7 +156,7 @@ public RandomCorrelationRating IsCompatibleReviseReset(ref PIDIV value, PKM pk)
|
|||
{
|
||||
var prev = value.Mutated; // if previously revised, use that instead.
|
||||
var type = prev is 0 ? value.Type : prev;
|
||||
if (type is not PIDType.BACD_AX)
|
||||
if (type is not (PIDType.BACD or PIDType.BACD_R))
|
||||
return Mismatch;
|
||||
|
||||
var seed = value.OriginSeed;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user