Skip to content

Commit

Permalink
Nov 16 Gay, dpp IU
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaD173 committed Nov 17, 2023
1 parent de000af commit 7b06ba3
Show file tree
Hide file tree
Showing 9 changed files with 149 additions and 682 deletions.
8 changes: 4 additions & 4 deletions config/formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,14 @@ export const Formats: FormatList = [
banlist: ['ZU', 'SUBL'],
},
{
name: "[Gen 4] 7U",
name: "[Gen 4] IU",
threads: [
`&bullet; <a href="https://docs.google.com/document/d/1Ff5EmG9LQvwO3iQINTgz00YVbdlnz8MJFcISNdePo0U">DPP 7U</a>`,
],
mod: 'gen4',
searchShow: true,
ruleset: ['[Gen 4] SU'],
banlist: ['SU', '7UBL'],
banlist: ['SU', 'IUBL'],
unbanlist: ['Damp Rock'],
},
{
Expand All @@ -323,8 +323,8 @@ export const Formats: FormatList = [
],
mod: 'gen4',
searchShow: true,
ruleset: ['[Gen 4] 7U'],
banlist: ['7U', '8UBL'],
ruleset: ['[Gen 4] IU'],
banlist: ['IU', '8UBL'],
},
{
name: "[Gen 4] 9U",
Expand Down
24 changes: 24 additions & 0 deletions data/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5722,4 +5722,28 @@ export const Abilities: {[abilityid: string]: AbilityData} = {
rating: 1.5,
num: -44,
},
machinelearning: {
onSwitchIn(pokemon) {
this.effectState.lastBoost = 'N';
},
onDamagingHit(damage, target, source, move) {
if (move.category === "Special") {
if (this.effectState.lastBoost === 'P') {
this.boost({def: -1});
}
this.boost({spd: 1});
this.effectState.lastBoost = "S";
} else if (move.category === "Physical") {
if (this.effectState.lastBoost === 'S') {
this.boost({spd: -1});
}
this.boost({def: 1});
this.effectState.lastBoost = "P";
}
},
name: "Machine Learning",
isNonstandard: "CAP",
rating: 3.5,
num: -45,
},
};
Loading

0 comments on commit 7b06ba3

Please sign in to comment.