mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-01 22:01:41 -05:00
Update non-Instructable moves
This commit is contained in:
@@ -8591,9 +8591,9 @@ exports.BattleMovedex = {
|
||||
if (!target.lastMove) return false;
|
||||
let lastMove = this.getMove(target.lastMove);
|
||||
let noInstruct = {
|
||||
instruct:1, outrage:1, petaldance:1, thrash:1, // TODO: fill this up
|
||||
beakblast:1, copycat:1, focuspunch:1, instruct:1, mefirst:1, metronome:1, mimic:1, mirrormove:1, outrage:1, petaldance:1, shelltrap:1, thrash:1, // TODO: fill this up
|
||||
};
|
||||
if (noInstruct[lastMove.id] || lastMove.isZ || lastMove.flags['charge'] || lastMove.flags['recharge']) {
|
||||
if (noInstruct[lastMove.id] || lastMove.isZ || lastMove.flags['charge'] || lastMove.flags['recharge'] || target.volatiles['beakblast'] || target.volatiles['focuspunch'] || target.volatiles['shelltrap']) {
|
||||
return false;
|
||||
}
|
||||
this.add('-singleturn', target, 'move: Instruct', '[of] ' + source);
|
||||
|
||||
Reference in New Issue
Block a user