[Misc] Replace Abilities.ABILITY_NAME with AbilityId.ABILITY_NAME in comments

This commit mirrors the comment changes made in 375587213e.
This commit is contained in:
Madmadness65 2025-08-07 23:11:03 -05:00
parent 7873181726
commit 32f5421b32

View File

@ -5491,7 +5491,7 @@ export class PostFaintContactDamageAbAttr extends PostFaintAbAttr {
* Attribute used for abilities that damage opponents causing the user to faint * Attribute used for abilities that damage opponents causing the user to faint
* equal to the amount of damage the last attack inflicted. * equal to the amount of damage the last attack inflicted.
* *
* Used for {@linkcode Abilities.INNARDS_OUT}. * Used for {@linkcode AbilityId.INNARDS_OUT | Innards Out}.
* @sealed * @sealed
*/ */
export class PostFaintHPDamageAbAttr extends PostFaintAbAttr { export class PostFaintHPDamageAbAttr extends PostFaintAbAttr {
@ -7307,7 +7307,7 @@ export function initAbilities() {
.attr(HealFromBerryUseAbAttr, 1 / 3), .attr(HealFromBerryUseAbAttr, 1 / 3),
new Ability(AbilityId.PROTEAN, 6) new Ability(AbilityId.PROTEAN, 6)
.attr(PokemonTypeChangeAbAttr) .attr(PokemonTypeChangeAbAttr)
// .condition((p) => !p.summonData.abilitiesApplied.includes(Abilities.PROTEAN)) //Gen 9 Implementation // .condition((p) => !p.summonData.abilitiesApplied.includes(AbilityId.PROTEAN)) //Gen 9 Implementation
// TODO: needs testing on interaction with weather blockage // TODO: needs testing on interaction with weather blockage
.edgeCase(), .edgeCase(),
new Ability(AbilityId.FUR_COAT, 6) new Ability(AbilityId.FUR_COAT, 6)
@ -7566,7 +7566,7 @@ export function initAbilities() {
.attr(PostSummonStatStageChangeAbAttr, [ Stat.DEF ], 1, true), .attr(PostSummonStatStageChangeAbAttr, [ Stat.DEF ], 1, true),
new Ability(AbilityId.LIBERO, 8) new Ability(AbilityId.LIBERO, 8)
.attr(PokemonTypeChangeAbAttr) .attr(PokemonTypeChangeAbAttr)
//.condition((p) => !p.summonData.abilitiesApplied.includes(Abilities.LIBERO)), //Gen 9 Implementation //.condition((p) => !p.summonData.abilitiesApplied.includes(AbilityId.LIBERO)), //Gen 9 Implementation
// TODO: needs testing on interaction with weather blockage // TODO: needs testing on interaction with weather blockage
.edgeCase(), .edgeCase(),
new Ability(AbilityId.BALL_FETCH, 8) new Ability(AbilityId.BALL_FETCH, 8)