Change accuracy ignore moves to only apply to the original target
This commit is contained in:
1 parent
969d54dd2e
commit
a7aa639bb2
2 files changed
+2
-2
No files matched your search
@@ -1347,7 +1347,7 @@ class MoveEffectPhase extends PokemonPhase {
|
||||
if (hiddenTag && !this.move.getMove().getAttrs(HitsTagAttr).filter(hta => (hta as HitsTagAttr).tagType === hiddenTag.tagType).length)
|
||||
return false;
|
||||
|
||||
if (this.getUserPokemon().getTag(BattlerTagType.IGNORE_ACCURACY))
|
||||
if (this.getUserPokemon().getTag(BattlerTagType.IGNORE_ACCURACY) && (this.getUserPokemon().getLastXMoves().find(() => true)?.targets || []).indexOf(target.getBattlerIndex()) > -1)
|
||||
return true;
|
||||
|
||||
const moveAccuracy = new Utils.NumberHolder(this.move.getMove().accuracy);
|
||||
|
||||
Reference in new issue
Block a user