Set pkm Stat Level when transferred to CK3/XK3

Closes #1302
Box structure in CK3/XK3 stores stats AND level, as battle stats are a
part of the box structure. There's no party/box differentiation!
This commit is contained in:
Kurt 2017-07-06 17:47:38 -07:00
parent 33dff69fb2
commit 267de164f4

View file

@ -846,6 +846,7 @@ namespace PKHeX.Core
var pk = new CK3();
TransferPropertiesWithReflection(this, pk);
pk.SetStats(GetStats(PersonalTable.RS[pk.Species]));
pk.Stat_Level = pk.CurrentLevel;
return pk;
}
/// <summary>
@ -861,6 +862,7 @@ namespace PKHeX.Core
var pk = new XK3();
TransferPropertiesWithReflection(this, pk);
pk.SetStats(GetStats(PersonalTable.RS[pk.Species]));
pk.Stat_Level = pk.CurrentLevel;
return pk;
}
/// <summary>