Fix static ability broken and causing crash

This commit is contained in:
Flashfyre 2024-03-24 22:43:35 -04:00
parent 0e694ebfb6
commit c77ea04120
1 changed files with 1 additions and 1 deletions

View File

@ -1848,7 +1848,7 @@ export function initAbilities() {
.condition(getWeatherCondition(WeatherType.SANDSTORM))
.ignorable(),
new Ability(Abilities.STATIC, "Static", "The Pokémon is charged with static electricity, so contact with it may cause paralysis.", 3)
.attr(PostDefendContactApplyStatusEffectAbAttr, StatusEffect.PARALYSIS),
.attr(PostDefendContactApplyStatusEffectAbAttr, 30, StatusEffect.PARALYSIS),
new Ability(Abilities.VOLT_ABSORB, "Volt Absorb", "Restores HP if hit by an Electric-type move instead of taking damage.", 3)
.attr(TypeImmunityHealAbAttr, Type.ELECTRIC)
.ignorable(),