Issue-483: Fix contact effects after death
parent
437cb87df9
commit
5c6e161eda
|
@ -2692,7 +2692,8 @@ export function initAbilities() {
|
||||||
.condition(getWeatherCondition(WeatherType.SANDSTORM))
|
.condition(getWeatherCondition(WeatherType.SANDSTORM))
|
||||||
.ignorable(),
|
.ignorable(),
|
||||||
new Ability(Abilities.STATIC, 3)
|
new Ability(Abilities.STATIC, 3)
|
||||||
.attr(PostDefendContactApplyStatusEffectAbAttr, 30, StatusEffect.PARALYSIS),
|
.attr(PostDefendContactApplyStatusEffectAbAttr, 30, StatusEffect.PARALYSIS)
|
||||||
|
.bypassFaint(),
|
||||||
new Ability(Abilities.VOLT_ABSORB, 3)
|
new Ability(Abilities.VOLT_ABSORB, 3)
|
||||||
.attr(TypeImmunityHealAbAttr, Type.ELECTRIC)
|
.attr(TypeImmunityHealAbAttr, Type.ELECTRIC)
|
||||||
.ignorable(),
|
.ignorable(),
|
||||||
|
@ -2776,7 +2777,8 @@ export function initAbilities() {
|
||||||
new Ability(Abilities.HUGE_POWER, 3)
|
new Ability(Abilities.HUGE_POWER, 3)
|
||||||
.attr(BattleStatMultiplierAbAttr, BattleStat.ATK, 2),
|
.attr(BattleStatMultiplierAbAttr, BattleStat.ATK, 2),
|
||||||
new Ability(Abilities.POISON_POINT, 3)
|
new Ability(Abilities.POISON_POINT, 3)
|
||||||
.attr(PostDefendContactApplyStatusEffectAbAttr, 30, StatusEffect.POISON),
|
.attr(PostDefendContactApplyStatusEffectAbAttr, 30, StatusEffect.POISON)
|
||||||
|
.bypassFaint(),
|
||||||
new Ability(Abilities.INNER_FOCUS, 3)
|
new Ability(Abilities.INNER_FOCUS, 3)
|
||||||
.attr(BattlerTagImmunityAbAttr, BattlerTagType.FLINCHED)
|
.attr(BattlerTagImmunityAbAttr, BattlerTagType.FLINCHED)
|
||||||
.attr(IntimidateImmunityAbAttr)
|
.attr(IntimidateImmunityAbAttr)
|
||||||
|
@ -2809,7 +2811,8 @@ export function initAbilities() {
|
||||||
new Ability(Abilities.EARLY_BIRD, 3)
|
new Ability(Abilities.EARLY_BIRD, 3)
|
||||||
.attr(ReduceStatusEffectDurationAbAttr, StatusEffect.SLEEP),
|
.attr(ReduceStatusEffectDurationAbAttr, StatusEffect.SLEEP),
|
||||||
new Ability(Abilities.FLAME_BODY, 3)
|
new Ability(Abilities.FLAME_BODY, 3)
|
||||||
.attr(PostDefendContactApplyStatusEffectAbAttr, 30, StatusEffect.BURN),
|
.attr(PostDefendContactApplyStatusEffectAbAttr, 30, StatusEffect.BURN)
|
||||||
|
.bypassFaint(),
|
||||||
new Ability(Abilities.RUN_AWAY, 3)
|
new Ability(Abilities.RUN_AWAY, 3)
|
||||||
.attr(RunSuccessAbAttr),
|
.attr(RunSuccessAbAttr),
|
||||||
new Ability(Abilities.KEEN_EYE, 3)
|
new Ability(Abilities.KEEN_EYE, 3)
|
||||||
|
|
Loading…
Reference in New Issue