mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
added ts compiler error for missing nature power biome
This commit is contained in:
parent
fa7ae9c388
commit
646b5d8048
@ -6981,7 +6981,8 @@ export class NaturePowerAttr extends CallMoveAttr {
|
|||||||
return MoveId.ETERNABEAM;
|
return MoveId.ETERNABEAM;
|
||||||
default:
|
default:
|
||||||
// Fallback for no match
|
// Fallback for no match
|
||||||
console.log(`NaturePowerAttr lacks defined move to use for current biome ${toReadableString(BiomeId[globalScene.arena.biomeType])}; consider adding an appropriate move to the attribute's selection table.`)
|
biome satisfies never;
|
||||||
|
console.warn(`NaturePowerAttr lacks defined move to use for current biome ${toReadableString(BiomeId[biome])}; consider adding an appropriate move to the attribute's selection table.`)
|
||||||
return MoveId.TRI_ATTACK;
|
return MoveId.TRI_ATTACK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user