mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-25 09:22:31 -05:00
35 lines
1.3 KiB
JavaScript
35 lines
1.3 KiB
JavaScript
'use strict';
|
|
|
|
/**@type {{[k: string]: ModdedFormatsData}} */
|
|
let BattleFormats = {
|
|
standard: {
|
|
inherit: true,
|
|
ruleset: ['Obtainable', 'Team Preview', 'Sleep Clause Mod', 'Species Clause', 'Nickname Clause', 'OHKO Clause', 'Moody Clause', 'Evasion Moves Clause', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
|
|
minSourceGen: 0, // auto
|
|
},
|
|
standarddoubles: {
|
|
inherit: true,
|
|
ruleset: ['Obtainable', 'Team Preview', 'Species Clause', 'Nickname Clause', 'OHKO Clause', 'Moody Clause', 'Evasion Abilities Clause', 'Evasion Moves Clause', 'Gravity Sleep Clause', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
|
|
minSourceGen: 0, // auto
|
|
},
|
|
obtainablemoves: {
|
|
inherit: true,
|
|
banlist: [
|
|
// Leaf Blade: Gen 6+ Nuzleaf level-up
|
|
// Sucker Punch: Gen 4 Shiftry tutor
|
|
'Shiftry + Leaf Blade + Sucker Punch',
|
|
],
|
|
},
|
|
gravitysleepclause: {
|
|
effectType: 'ValidatorRule',
|
|
name: 'Gravity Sleep Clause',
|
|
desc: "Bans Gravity + sleep moves below 100% accuracy",
|
|
banlist: ['Gravity ++ Grass Whistle', 'Gravity ++ Hypnosis', 'Gravity ++ Lovely Kiss', 'Gravity ++ Sing', 'Gravity ++ Sleep Powder'],
|
|
onBegin() {
|
|
this.add('rule', 'Gravity Sleep Clause: The combination of Gravity and sleep-inducing moves with imperfect accuracy are banned');
|
|
},
|
|
},
|
|
};
|
|
|
|
exports.BattleFormats = BattleFormats;
|