mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
fix formatting
This commit is contained in:
parent
07ff22e53d
commit
d06003d22c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user