mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-03 17:29:13 +00:00
add batch editor cp/h/w suggest routes
https://projectpokemon.org/home/forums/topic/48773-problem-with-lets-go-pikachueevee-batch-editor/
This commit is contained in:
parent
2c1717a409
commit
f6da84b699
1 changed files with 11 additions and 0 deletions
|
@ -339,6 +339,17 @@ namespace PKHeX.Core
|
|||
var PKM = info.pkm;
|
||||
switch (name)
|
||||
{
|
||||
// pb7 only
|
||||
case nameof(PB7.Stat_CP) when PKM is PB7 pb7:
|
||||
pb7.ResetCP();
|
||||
return ModifyResult.Modified;
|
||||
case nameof(PB7.HeightAbsolute) when PKM is PB7 pb7:
|
||||
pb7.HeightAbsolute = pb7.CalcHeightAbsolute;
|
||||
return ModifyResult.Modified;
|
||||
case nameof(PB7.WeightAbsolute) when PKM is PB7 pb7:
|
||||
pb7.WeightAbsolute = pb7.CalcWeightAbsolute;
|
||||
return ModifyResult.Modified;
|
||||
|
||||
case nameof(PKM.Stats):
|
||||
PKM.SetStats(PKM.GetStats(PKM.PersonalInfo));
|
||||
return ModifyResult.Modified;
|
||||
|
|
Loading…
Reference in a new issue