From 75eccd73625b507b387b6ee02cd16242c0619f71 Mon Sep 17 00:00:00 2001 From: MacChaeger Date: Tue, 19 Dec 2023 23:55:15 -0600 Subject: [PATCH] Add more exceptions to getting Toxic Orb --- data/cg-teams.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/cg-teams.ts b/data/cg-teams.ts index a97d35a362bb..2ff8b89bc86b 100644 --- a/data/cg-teams.ts +++ b/data/cg-teams.ts @@ -906,10 +906,11 @@ export default class TeamGenerator { if (moves.some(m => m.id === 'facade')) weight *= 2; return weight; case 'toxicorb': - if (species.types.includes('Poison')) return 0; + if (species.types.includes('Poison') || species.types.includes('Steel')) return 0; + if (['Immunity', 'Comatose', 'Purifying Salt', 'Shields Down'].includes('ability')) return 0; weight = 0; - if (ability === 'Poison Heal') weight += 25; + if (['Poison Heal', 'Toxic Boost'].includes('ability')) weight += 25; if (moves.some(m => m.id === 'facade')) weight += 25; return weight;