mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 22:02:18 +02:00
Update src/data/ability.ts
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
parent
76dda14722
commit
83018a558a
@ -5274,10 +5274,10 @@ export class IllusionPostBattleAbAttr extends PostBattleAbAttr {
|
||||
/**
|
||||
* Break the illusion once the battle ends
|
||||
*
|
||||
* @param {Pokemon} pokemon - The Pokémon with the Illusion ability.
|
||||
* @param {boolean} passive - N/A
|
||||
* @param {...any} args - N/A
|
||||
* @returns {boolean} - Whether the illusion was applied.
|
||||
* @param pokemon - The Pokémon with the Illusion ability.
|
||||
* @param passive - Unused
|
||||
* @param args - Unused
|
||||
* @returns - Whether the illusion was applied.
|
||||
*/
|
||||
override applyPostBattle(pokemon: Pokemon, passive: boolean, simulated:boolean, args: any[]): void {
|
||||
pokemon.breakIllusion()
|
||||
|
Loading…
Reference in New Issue
Block a user