Update src/data/ability.ts

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
Lylian BALL 2025-03-31 11:23:14 +02:00 committed by GitHub
parent 34878c8d4a
commit 2b6c05d06d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -5237,13 +5237,13 @@ export class IllusionBreakAbAttr extends PostDefendAbAttr {
/**
* Destroy illusion if attack move deals damage to zoroark
*
* @param {Pokemon} pokemon - The Pokémon with the Illusion ability.
* @param {boolean} passive - N/A
* @param {Pokemon} attacker - The attacking Pokémon.
* @param {PokemonMove} move - The move being used.
* @param {PokemonMove} hitResult - The type of hitResult the pokemon got
* @param {...any} args - N/A
* @returns {boolean} - Whether the illusion was destroyed.
* @param pokemon - The Pokémon with the Illusion ability.
* @param passive - unused
* @param attacker - The attacking Pokémon.
* @param move - The move being used.
* @param hitResult - The type of hitResult the pokemon got
* @param args - unused
* @returns - Whether the illusion was destroyed.
*/
applyPostDefend(pokemon: Pokemon, passive: boolean, simulated: boolean, attacker: Pokemon, move: Move, hitResult: HitResult, args: any[]): boolean {