Removed the rest of the indents

This commit is contained in:
EmoUsedHM01 2024-04-11 21:01:15 +01:00 committed by GitHub
parent ace72111de
commit d4cc2c7a2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2535,15 +2535,6 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
}); });
} }
// Function to apply any effects to the user/target before switching out
applyEffectsBeforeSwitchOut(user: Pokemon, target: Pokemon, move: Move) {
// Create an instance of PostDefendContactApplyStatusEffectAbAttr
const postDefendAttr = new PostDefendContactApplyStatusEffectAbAttr();
// Apply the effects based on the logic in PostDefendContactApplyStatusEffectAbAttr
postDefendAttr.applyPostDefend(user, target, move);
}
getCondition(): MoveConditionFunc { getCondition(): MoveConditionFunc {
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);
} }