fix formatting

pull/97/head
spongario 2024-04-11 23:12:34 -04:00 committed by Samuel H
parent 07ff22e53d
commit d06003d22c
1 changed files with 1 additions and 2 deletions

View File

@ -51,8 +51,7 @@ export class Terrain {
isMoveTerrainCancelled(user: Pokemon, move: Move): boolean {
switch (this.terrainType) {
case TerrainType.PSYCHIC:
if (!move.getAttrs(ProtectAttr).length )
{
if (!move.getAttrs(ProtectAttr).length){
const priority = new Utils.IntegerHolder(move.priority);
applyAbAttrs(IncrementMovePriorityAbAttr, user, null, move, priority);
return priority.value > 0;