Random Doubles updates

This commit is contained in:
The Immortal
2020-05-03 02:50:01 +04:00
parent fc62da963a
commit 281106bac1
3 changed files with 9 additions and 11 deletions

View File

@@ -239,7 +239,7 @@ const Formats = [
mod: 'gen8',
gameType: 'doubles',
team: 'random',
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod'],
},
{
name: "[Gen 8] Doubles OU",

View File

@@ -3234,7 +3234,7 @@ export const BattleFormatsData: {[k: string]: SpeciesFormatsData} = {
},
beheeyem: {
randomBattleMoves: ["psychic", "shadowball", "thunderbolt", "trick", "trickroom"],
randomDoubleBattleMoves: ["nastyplot", "protect", "psychic", "shadowball", "thunderbolt", "thunderwave", "trickroom"],
randomDoubleBattleMoves: ["nastyplot", "protect", "psychic", "shadowball", "thunderbolt", "trickroom"],
tier: "PU",
doublesTier: "(DUU)",
},
@@ -3283,7 +3283,7 @@ export const BattleFormatsData: {[k: string]: SpeciesFormatsData} = {
},
accelgor: {
randomBattleMoves: ["bugbuzz", "energyball", "focusblast", "spikes", "toxic", "yawn"],
randomDoubleBattleMoves: ["acidspray", "bugbuzz", "encore", "energyball", "finalgambit", "focusblast"],
randomDoubleBattleMoves: ["acidspray", "bugbuzz", "encore", "energyball", "focusblast"],
tier: "RU",
doublesTier: "(DUU)",
},
@@ -3453,7 +3453,7 @@ export const BattleFormatsData: {[k: string]: SpeciesFormatsData} = {
},
kyuremblack: {
randomBattleMoves: ["dragondance", "fusionbolt", "iciclespear", "outrage"],
randomDoubleBattleMoves: ["dragonclaw", "dragondance", "freezeshock", "fusionbolt", "protect", "roost"],
randomDoubleBattleMoves: ["dragonclaw", "dragondance", "fusionbolt", "iciclespear", "protect", "roost"],
tier: "Uber",
doublesTier: "DUber",
},
@@ -4598,7 +4598,7 @@ export const BattleFormatsData: {[k: string]: SpeciesFormatsData} = {
},
drednaw: {
randomBattleMoves: ["liquidation", "stealthrock", "stoneedge", "superpower", "swordsdance"],
randomDoubleBattleMoves: ["highhorsepower", "liquidation", "poisonjab", "protect", "rockslide", "superpower"],
randomDoubleBattleMoves: ["highhorsepower", "liquidation", "protect", "rockslide", "superpower"],
tier: "NU",
doublesTier: "(DUU)",
},
@@ -4814,7 +4814,7 @@ export const BattleFormatsData: {[k: string]: SpeciesFormatsData} = {
},
frosmoth: {
randomBattleMoves: ["bugbuzz", "gigadrain", "hurricane", "icebeam", "quiverdance"],
randomDoubleBattleMoves: ["bugbuzz", "gigadrain", "hurricane", "icebeam", "quiverdance", "tailwind", "wideguard"],
randomDoubleBattleMoves: ["bugbuzz", "gigadrain", "hurricane", "icebeam", "quiverdance", "wideguard"],
tier: "RU",
doublesTier: "DUU",
},

View File

@@ -933,8 +933,7 @@ export class RandomTeams {
}
// Pokemon should have moves that benefit their types, stats, or ability
if (!rejected && !['sleeptalk', 'teleport'].includes(moveid) && (
counter['physicalsetup'] + counter['specialsetup'] < 2 &&
if (!rejected && !['sleeptalk', 'teleport'].includes(moveid) && (counter['physicalsetup'] + counter['specialsetup'] < 2 &&
(!counter.setupType || counter.setupType === 'Mixed' || (move.category !== counter.setupType && move.category !== 'Status') || (counter[counter.setupType] + counter.Status > 3 && !counter.hazards))
) && (
(!counter.stab && counter['physicalpool'] + counter['specialpool'] > 0) ||
@@ -958,9 +957,8 @@ export class RandomTeams {
(hasType['Water'] && !counter['Water']) ||
((hasAbility['Moody'] || hasMove['wish']) && movePool.includes('protect')) ||
(((hasMove['lightscreen'] && movePool.includes('reflect')) || (hasMove['reflect'] && movePool.includes('lightscreen'))) && move.id !== 'teleport') ||
(!counter['recovery'] && !counter.setupType && !hasMove['trick'] && !hasMove['trickroom'] && (
movePool.includes('recover') || movePool.includes('roost') || movePool.includes('slackoff') || movePool.includes('softboiled')
) && !!counter.Status) ||
((movePool.includes('recover') || movePool.includes('roost') || movePool.includes('slackoff') || movePool.includes('softboiled')) &&
!!counter.Status && !counter.setupType && !hasMove['trick'] && !hasMove['trickroom'] && !isDoubles) ||
(movePool.includes('quiverdance') || movePool.includes('stickyweb') && !counter.setupType && !teamDetails.stickyWeb)
)) {
// Reject Status or non-STAB