Merge pull request #2080 from SolarisFox/patch-1

/dexsearch: exclude bide as a priority move
This commit is contained in:
Guangcong Luo 2015-07-26 07:51:53 +00:00
commit eb55cf35d4

View File

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