mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Removed the additional indents
This commit is contained in:
parent
f0c2e62883
commit
4269c27b9c
@ -2477,10 +2477,10 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
|
||||
return new Promise(resolve => {
|
||||
// Check if the move category is not STATUS or if the switch out condition is not met
|
||||
if (move.category !== MoveCategory.STATUS && !this.getSwitchOutCondition()(user, target, move)) {
|
||||
// Apply effects that need to be executed before switch out
|
||||
// For example, applying poison or any other status condition
|
||||
//Apply effects that need to be executed before switch out
|
||||
//For example, applying poison or any other status condition
|
||||
this.applyEffectsBeforeSwitchOut(user, target, move);
|
||||
// Resolve the Promise after the switch out is complete
|
||||
//Resolve the Promise after the switch out is complete
|
||||
return resolve(false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user