mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 03:56:52 -05:00
cxd: fix enc->pk3 with criteria IVs set
not sure why this unroll was in there... now works as intended.
This commit is contained in:
@@ -31,8 +31,7 @@ public static class MethodCXD
|
||||
if (criteria.IsSpecifiedGender() && !criteria.IsSatisfiedGender(EntityGender.GetFromPIDAndRatio(pid, gr)))
|
||||
continue;
|
||||
|
||||
var origin = XDRNG.Prev(seed);
|
||||
var pidiv = new PIDIV(PIDType.CXD, origin);
|
||||
var pidiv = new PIDIV(PIDType.CXD, seed);
|
||||
var result = LockFinder.IsAllShadowLockValid(enc, pidiv, pk);
|
||||
if (!result)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user