added ts compiler error for missing nature power biome

This commit is contained in:
Bertie690 2025-06-17 18:34:22 -04:00
parent fa7ae9c388
commit 646b5d8048

View File

@ -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;
} }
} }