Fix Trace

This commit is contained in:
Dean 2025-01-17 23:57:51 -08:00
parent 936568f264
commit 2a971e73ab

View File

@ -2342,7 +2342,7 @@ export class PostSummonCopyAbilityAbAttr extends PostSummonAbAttr {
if (!simulated) { if (!simulated) {
this.target = target!; this.target = target!;
this.targetAbilityName = allAbilities[target!.getAbility().id].name; this.targetAbilityName = allAbilities[target!.getAbility().id].name;
pokemon.summonData.ability = target!.getAbility().id; pokemon.setTempAbility(target!.getAbility());
setAbilityRevealed(target!); setAbilityRevealed(target!);
pokemon.updateInfo(); pokemon.updateInfo();
} }