removed commented code

This commit is contained in:
Luc 2024-04-25 21:12:18 -04:00
parent 643f796cfe
commit 327bb06e73
2 changed files with 1 additions and 2 deletions

View File

@ -2918,7 +2918,6 @@ export function initAbilities() {
.unimplemented(), .unimplemented(),
new Ability(Abilities.ANALYTIC, 5) new Ability(Abilities.ANALYTIC, 5)
.attr(AnalyticAbAttr), .attr(AnalyticAbAttr),
//.attr(MovePowerBoostAbAttr, (user, target, move) => !!target.getLastXMoves(1).find(m => m.turn === target.scene.currentBattle.turn) || user.scene.currentBattle.turnCommands[target.getBattlerIndex()].command !== Command.FIGHT, 1.3),
new Ability(Abilities.ILLUSION, 5) new Ability(Abilities.ILLUSION, 5)
.attr(UncopiableAbilityAbAttr) .attr(UncopiableAbilityAbAttr)
.attr(UnswappableAbilityAbAttr) .attr(UnswappableAbilityAbAttr)

View File

@ -2884,7 +2884,7 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
return (user, target, move) => move.category !== MoveCategory.STATUS || this.getSwitchOutCondition()(user, target, move); return (user, target, move) => move.category !== MoveCategory.STATUS || this.getSwitchOutCondition()(user, target, move);
} }
public isSelfSwitch(): boolean { isSelfSwitch(): boolean {
return this.user; return this.user;
} }