mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-14 22:05:34 +01:00
[Docs] Fix Pokemon#hasAbility referencing outdated enum name
https://github.com/pagefaultgames/pokerogue/pull/6766
This commit is contained in:
parent
e438536dc3
commit
6ef0af8489
@ -2232,7 +2232,7 @@ export abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
/**
|
||||
* Check whether a pokemon has the specified ability in effect, either as a normal or passive ability.
|
||||
* Accounts for all the various effects which can disable or modify abilities.
|
||||
* @param ability - The {@linkcode Abilities | Ability} to check for
|
||||
* @param ability - The {@linkcode AbilityId | Ability} to check for
|
||||
* @param canApply - Whether to check if the ability is currently active; default `true`
|
||||
* @param ignoreOverride - Whether to ignore any overrides caused by {@linkcode MoveId.TRANSFORM | Transform}; default `false`
|
||||
* @returns Whether this {@linkcode Pokemon} has the given ability
|
||||
|
||||
Loading…
Reference in New Issue
Block a user