Airlock ability now properly announces when it is

in field when the pokemon with it is switched in
pull/765/head
Tiduzz 2024-05-12 03:22:04 -03:00
parent db6008d15c
commit 27867faf63
1 changed files with 2 additions and 1 deletions

View File

@ -2974,7 +2974,8 @@ export function initAbilities() {
.attr(BlockCritAbAttr)
.ignorable(),
new Ability(Abilities.AIR_LOCK, 3)
.attr(SuppressWeatherEffectAbAttr, true),
.attr(SuppressWeatherEffectAbAttr, true)
.attr(PostSummonMessageAbAttr, (pokemon: Pokemon) => getPokemonMessage(pokemon, ' is suppressing the weather effects!')),
new Ability(Abilities.TANGLED_FEET, 4)
.conditionalAttr(pokemon => !!pokemon.getTag(BattlerTagType.CONFUSED), BattleStatMultiplierAbAttr, BattleStat.EVA, 2)
.ignorable(),