From b7bcef903c9c1cb5a1fa87337b4b4bc52402d2a9 Mon Sep 17 00:00:00 2001 From: Dean Date: Sun, 2 Feb 2025 12:42:22 -0800 Subject: [PATCH] Stop trace from displaying itself --- src/data/ability.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/data/ability.ts b/src/data/ability.ts index a07e8f7e9f3..675953ad189 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -2358,6 +2358,10 @@ export class PostSummonCopyAbilityAbAttr extends PostSummonAbAttr { private target: Pokemon; private targetAbilityName: string; + constructor() { + super(false); // Displaying ability changes should be handled by ab swap function + } + willSucceedPostSummon(pokemon: Pokemon, passive: boolean, simulated: boolean, args: any[]): boolean { const targets = pokemon.getOpponents(); if (!targets.length) {