mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 12:36:41 -05:00
Sound-based moves ignore Substitute
This commit is contained in:
parent
ac70421de9
commit
1898bf64db
|
|
@ -12859,7 +12859,7 @@ exports.BattleMovedex = {
|
|||
this.debug('sub bypass: self hit');
|
||||
return;
|
||||
}
|
||||
if (move.notSubBlocked || source.ability === 'infiltrator' && this.gen >= 6) {
|
||||
if (move.notSubBlocked || (source.ability === 'infiltrator' || move.isSoundBased) && this.gen >= 6) {
|
||||
return;
|
||||
}
|
||||
if (move.category === 'Status') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user