mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
Update move history entry to FAIL when prevented by Damp
This commit is contained in:
parent
2622500296
commit
98f72e9324
@ -3054,6 +3054,8 @@ export class MoveEffectPhase extends PokemonPhase {
|
|||||||
applyAbAttrs(FieldPreventMovesAbAttr, other, prevented, move, user as Pokemon);
|
applyAbAttrs(FieldPreventMovesAbAttr, other, prevented, move, user as Pokemon);
|
||||||
}
|
}
|
||||||
if (prevented.value) {
|
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();
|
return this.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user