mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-23 02:57:48 -05:00
Remove extraneous fail when using Psychic Noise twice in a row (#10254)
This commit is contained in:
parent
c1a768ee40
commit
fbb8b57732
|
|
@ -8604,7 +8604,9 @@ export const Moves: {[moveid: string]: MoveData} = {
|
|||
if ((effect?.id === 'zpower') || this.effectState.isZ) return damage;
|
||||
return false;
|
||||
},
|
||||
onRestart(target, source) {
|
||||
onRestart(target, source, effect) {
|
||||
if (effect?.name === 'Psychic Noise') return;
|
||||
|
||||
this.add('-fail', target, 'move: Heal Block'); // Succeeds to supress downstream messages
|
||||
if (!source.moveThisTurnResult) {
|
||||
source.moveThisTurnResult = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user