mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-21 07:42:25 +02:00
Stop trace from displaying itself
This commit is contained in:
parent
9c9d550605
commit
b7bcef903c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user