mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Merge pull request #2080 from SolarisFox/patch-1
/dexsearch: exclude bide as a priority move
This commit is contained in:
commit
eb55cf35d4
|
|
@ -609,7 +609,7 @@ var commands = exports.commands = {
|
|||
var priorityMoves = [];
|
||||
for (var move in Tools.data.Movedex) {
|
||||
var moveData = Tools.getMove(move);
|
||||
if (moveData.category === "Status") continue;
|
||||
if (moveData.category === "Status" || moveData.id === "bide") continue;
|
||||
if (moveData.priority > 0) priorityMoves.push(move);
|
||||
}
|
||||
for (var mon in dex) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user