mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 14:22:19 +02:00
Update src/data/ability.ts
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
parent
2b6c05d06d
commit
759a317a90
@ -2371,9 +2371,9 @@ export class PostSummonMessageAbAttr extends PostSummonAbAttr {
|
|||||||
*/
|
*/
|
||||||
export class PostSummonRemoveIllusionAbAttr extends PostSummonAbAttr {
|
export class PostSummonRemoveIllusionAbAttr extends PostSummonAbAttr {
|
||||||
applyPostSummon(pokemon: Pokemon, passive: boolean, simulated: boolean, args: any[]): boolean {
|
applyPostSummon(pokemon: Pokemon, passive: boolean, simulated: boolean, args: any[]): boolean {
|
||||||
globalScene.getField(true).map(pokemon => {
|
for (const pokemon of globalScene.getField(true) {
|
||||||
pokemon.breakIllusion();
|
pokemon.breakIllusion();
|
||||||
});
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user