Sound-based moves ignore Substitute

This commit is contained in:
V4Victini 2013-11-11 05:43:16 -05:00
parent ac70421de9
commit 1898bf64db

View File

@ -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') {