From 89dfc8f75e34a72cca31cc25a48f0f93f5600344 Mon Sep 17 00:00:00 2001 From: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Fri, 5 Apr 2024 21:53:44 -0600 Subject: [PATCH] Live debugging me on prod --- data/mods/gen9ssb/moves.ts | 4 ++-- data/mods/gen9ssb/random-teams.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/mods/gen9ssb/moves.ts b/data/mods/gen9ssb/moves.ts index d84ed3cd9..04a24308b 100644 --- a/data/mods/gen9ssb/moves.ts +++ b/data/mods/gen9ssb/moves.ts @@ -1521,7 +1521,7 @@ export const Moves: {[k: string]: ModdedMoveData} = { onResidualSubOrder: 1, onResidual(target, source) { let quotes: string[] = []; - if (this.effectState.sourceSide === target.side) { + if (this.effectState.sourceSide === source.side) { quotes = [ `A cure for all that ails.`, `A sip for the parched.`, @@ -1572,7 +1572,7 @@ export const Moves: {[k: string]: ModdedMoveData} = { } } if (quotes.length) { - this.add(`|c:|${getName((source ? (source.illusion || source) : this.effectState.source).name)}|${this.sample(quotes)}`); + this.add(`c:|${getName((source ? (source.illusion || source) : this.effectState.source).name)}|${this.sample(quotes)}`); } }, onSideResidualOrder: 26, diff --git a/data/mods/gen9ssb/random-teams.ts b/data/mods/gen9ssb/random-teams.ts index 0357853a5..414c8416b 100644 --- a/data/mods/gen9ssb/random-teams.ts +++ b/data/mods/gen9ssb/random-teams.ts @@ -986,7 +986,7 @@ export class RandomStaffBrosTeams extends RandomTeams { this.enforceNoDirectCustomBanlistChanges(); const team: PokemonSet[] = []; - const debug: string[] = []; // Set this to a list of SSB sets to override the normal pool for debugging. + const debug: string[] = ['dhelmise']; // Set this to a list of SSB sets to override the normal pool for debugging. const ruleTable = this.dex.formats.getRuleTable(this.format); const monotype = ruleTable.has('sametypeclause') ? this.sample([...this.dex.types.names().filter(x => x !== 'Stellar')]) : false;