Skip to content

Commit

Permalink
Add Battle Spot Special 4
Browse files Browse the repository at this point in the history
  • Loading branch information
TheImmortal committed May 18, 2017
1 parent cd3ac06 commit e80b76d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/formats.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,21 +139,21 @@ exports.Formats = [
requirePentagon: true,
},
{
name: "[Gen 7] Battle Spot Special 3",
desc: ["&bullet; <a href=\"https://www.smogon.com/forums/threads/3598297/\">Battle Spot Special</a>"],
name: "[Gen 7] Battle Spot Special 4",
desc: ["&bullet; <a href=\"https://www.smogon.com/forums/threads/3603342/\">Battle Spot Special</a>"],

mod: 'gen7',
maxForcedLevel: 50,
teamLength: {
validate: [3, 6],
battle: 3,
validate: [1, 6],
battle: 1,
},
ruleset: ['Pokemon', 'Standard GBU', 'Team Preview'],
unbanlist: ['Mew'],
banlist: ['Eviolite', 'Focus Sash'],
onValidateSet(set) {
let item = this.getItem(set.item);
if (item.exists && !item.zMove) {
return [`${set.name || set.species} has ${item.name}, which is banned in Battle Spot Special 3.`];
if (item.exists && (item.megaStone || item.zMove)) {
return [`${set.name || set.species} has ${item.name}, which is banned in Battle Spot Special 4.`];
}
},
},
Expand Down

0 comments on commit e80b76d

Please sign in to comment.