mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-29 21:12:45 +02:00
bbggg
This commit is contained in:
parent
958fd64d90
commit
e9d3f147ef
@ -6742,6 +6742,7 @@ interface IllusionData {
|
||||
level?: number;
|
||||
}
|
||||
|
||||
// TODO: Remove `turn` and make `result` mandatory
|
||||
export interface TurnMove {
|
||||
move: MoveId;
|
||||
targets: BattlerIndex[];
|
||||
|
@ -25,6 +25,7 @@ interface OldTurnMove {
|
||||
const fixMoveHistory: SessionSaveMigrator = {
|
||||
version: "1.10.0",
|
||||
migrate: (data: SessionSaveData): void => {
|
||||
// @ts-expect-error - optional property jank
|
||||
const mapTurnMove = (tm: OldTurnMove): TurnMove => ({
|
||||
move: tm.move,
|
||||
targets: tm.targets,
|
||||
|
Loading…
Reference in New Issue
Block a user