mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
Fix Trace
This commit is contained in:
parent
936568f264
commit
2a971e73ab
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user