Gorilla Tactics should only lock into the first successful move (#6217)

This commit is contained in:
urkerab 2019-12-24 16:35:42 +00:00 committed by The Immortal
parent 7f772fba67
commit b82aeb623b

View File

@ -1303,7 +1303,7 @@ let BattleAbilities = {
}
},
onModifyMove(move, pokemon) {
if (move.isZPowered || move.maxPowered || move.id === 'struggle') return;
if (pokemon.abilityData.choiceLock || move.isZPowered || move.maxPowered || move.id === 'struggle') return;
pokemon.abilityData.choiceLock = move.id;
},
onModifyAtkPriority: 1,