Update move history entry to FAIL when prevented by Damp

This commit is contained in:
Zach Day 2024-06-16 17:49:21 -04:00
parent 2622500296
commit 98f72e9324

View File

@ -3054,6 +3054,8 @@ export class MoveEffectPhase extends PokemonPhase {
applyAbAttrs(FieldPreventMovesAbAttr, other, prevented, move, user as Pokemon);
}
if (prevented.value) {
// Just bail out of the move if it got prevented. No need to manually show message; the Attr handles that.
moveHistoryEntry.result = MoveResult.FAIL;
return this.end();
}