mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Add static/magnet fail enum value
can fail leading to regular ESV calc
This commit is contained in:
parent
5d74096243
commit
4b954cd102
2 changed files with 2 additions and 4 deletions
|
@ -169,11 +169,8 @@ namespace PKHeX.Core
|
|||
|
||||
// Slot Modifiers before ESV
|
||||
var force = (info.DPPt ? p16 >> 15 : p16 & 1) == 1;
|
||||
if (!force)
|
||||
continue;
|
||||
|
||||
var rand = f.Seed >> 16;
|
||||
yield return info.GetFrame(prev, LeadRequired.StaticMagnet, rand, rand);
|
||||
yield return info.GetFrame(prev, force ? LeadRequired.StaticMagnet : LeadRequired.StaticMagnetFail, rand, rand);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
// Slot Modifiers
|
||||
StaticMagnet,
|
||||
StaticMagnetFail,
|
||||
|
||||
// Level Modifiers
|
||||
IntimidateKeenEye, // Keen Eye
|
||||
|
|
Loading…
Reference in a new issue