Skip to content

Commit

Permalink
Live debugging me on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV committed Apr 6, 2024
1 parent c65529f commit 89dfc8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions data/mods/gen9ssb/moves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion data/mods/gen9ssb/random-teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 89dfc8f

Please sign in to comment.