Update src/data/ability.ts

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
Lylian BALL 2025-04-01 23:55:18 +02:00 committed by GitHub
parent 76dda14722
commit 83018a558a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()