mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-16 13:28:35 +00:00
Update EncounterGift3.cs
This commit is contained in:
parent
be9767f3e6
commit
bc94f7b9ec
1 changed files with 3 additions and 2 deletions
|
@ -209,9 +209,9 @@ public sealed class EncounterGift3 : IEncounterable, IEncounterMatch, IMoveset,
|
|||
BACD_RBCD => Math.Clamp(seed, 3, 213), // BCD digit sum
|
||||
Channel => ChannelJirachi.SkipToPIDIV(seed),
|
||||
BACD_T2 when Species is not (ushort)Core.Species.Jirachi
|
||||
=> PCJPFifthAnniversary.GetSeedForResult(Species, Shiny == Shiny.Always, Moves.Contains((ushort)Move.Wish), seed),
|
||||
=> LCRNG.Next2(PCJPFifthAnniversary.GetSeedForResult(Species, Shiny == Shiny.Always, Moves.Contains((ushort)Move.Wish), seed)),
|
||||
BACD_T3
|
||||
=> PCJPFifthAnniversary.GetSeedForResult(Species, Shiny == Shiny.Always, Moves.Contains((ushort)Move.Wish), seed),
|
||||
=> LCRNG.Next2(PCJPFifthAnniversary.GetSeedForResult(Species, Shiny == Shiny.Always, Moves.Contains((ushort)Move.Wish), seed)),
|
||||
|
||||
BACD_M => MystryMew.GetSeed(seed),
|
||||
_ when OriginalTrainerGender is GiftGender3.RandD3_0 => GetRandomRestrictedGenderBit0(seed, 0),
|
||||
|
@ -334,6 +334,7 @@ public sealed class EncounterGift3 : IEncounterable, IEncounterMatch, IMoveset,
|
|||
BACD_RBCD => IsBerryFixShiny(ref value, type),
|
||||
BACD_M => IsMystryMew(ref value, type),
|
||||
Channel => IsChannelJirachi(ref value, type),
|
||||
Method_2 => true,
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue