mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 22:18:18 -05:00
Encore and Torment fail against Dynamax
This commit is contained in:
parent
02c862da31
commit
8ccfed069c
|
|
@ -4734,6 +4734,9 @@ let BattleMovedex = {
|
|||
priority: 0,
|
||||
flags: {protect: 1, reflectable: 1, mirror: 1, authentic: 1},
|
||||
volatileStatus: 'encore',
|
||||
onTryHit(target) {
|
||||
if (target.volatiles['dynamax']) return false;
|
||||
},
|
||||
effect: {
|
||||
duration: 3,
|
||||
noCopy: true, // doesn't get copied by Z-Baton Pass
|
||||
|
|
@ -19968,6 +19971,9 @@ let BattleMovedex = {
|
|||
priority: 0,
|
||||
flags: {protect: 1, reflectable: 1, mirror: 1, authentic: 1},
|
||||
volatileStatus: 'torment',
|
||||
onTryHit(target) {
|
||||
if (target.volatiles['dynamax']) return false;
|
||||
},
|
||||
effect: {
|
||||
noCopy: true,
|
||||
onStart(pokemon) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user