</div></section></div></details></section></section><detailsclass="tsd-panel-group tsd-member-group tsd-accordion"open><summaryclass="tsd-accordion-summary"data-key="section-Constructors"><h2><svgwidth="20"height="20"viewBox="0 0 24 24"fill="none"><usehref="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><sectionclass="tsd-panel tsd-member"><aid="constructor"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>constructor</span><ahref="#constructor"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="constructor.new_PostAttackAbAttr"class="tsd-anchor"></a><spanclass="tsd-kind-constructor-signature">new <wbr/>Post<wbr/>Attack<wbr/>Ab<wbr/>Attr</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">attackCondition</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_ability.PostAttackAbAttr.html"class="tsd-signature-type tsd-kind-class">PostAttackAbAttr</a><ahref="#constructor.new_PostAttackAbAttr"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>The default attackCondition requires that the selected move is a damaging move</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">attackCondition</span>: <spanclass="tsd-signature-type">PokemonAttackCondition</span><spanclass="tsd-signature-symbol"> = ...</span></span></li></ul></div><h4class="tsd-returns-title">Returns <ahref="data_ability.PostAttackAbAttr.html"class="tsd-signature-type tsd-kind-class">PostAttackAbAttr</a></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Overrides <ahref="data_ability.AbAttr.html">AbAttr</a>.<ahref="data_ability.AbAttr.html#constructor">constructor</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/451a1a2c50fe3fc65b7b459b3572454b0ec4706f/src/data/ability.ts#L1528">src/data/ability.ts:1528</a></li></ul></aside></li></ul></section></section></details><detailsclass="tsd-panel-group tsd-member-group tsd-accordion"open><summaryclass="tsd-accordion-summary"data-key="section-Properties"><h2><svgwidth="20"height="20"viewBox="0 0 24 24"fill="none"><usehref="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="showAbility"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>show<wbr/>Ability</span><ahref="#showAbility"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">show<wbr/>Ability</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_ability.AbAttr.html">AbAttr</a>.<ahref="data_ability.AbAttr.html#showAbility">showAbility</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/451a1a2c50fe3fc65b7b459b3572454b0ec4706f/src/data/ability.ts#L128">src/data/ability.ts:128</a></li></ul></aside></section></section></details><detailsclass="tsd-panel-group tsd-member-group tsd-accordion"open><summaryclass="tsd-accordion-summary"data-key="section-Methods"><h2><svgwidth="20"height="20"viewBox="0 0 24 24"fill="none"><usehref="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="addCondition"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>add<wbr/>Condition</span><ahref="#addCondition"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="addCondition.addCondition-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">add<wbr/>Condition</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">condition</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_ability.AbAttr.html"class="tsd-signature-type tsd-kind-class">AbAttr</a><ahref="#addCondition.addCondition-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">condition</span>: <spanclass="tsd-signature-type">AbAttrCondition</span></span></li></ul></div><h4class="tsd-returns-title">Returns <ahref="data_ability.AbAttr.html"class="tsd-signature-type tsd-kind-class">AbAttr</a></h4><asideclass="tsd-sources"><p>Inherited from <ahref="data_ability.AbAttr.html">AbAttr</a>.<ahref="data_ability.AbAttr.html#addCondition">addCondition</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/451a1a2c50fe3fc65b7b459b3572454b0ec4706f/src/data/ability.ts#L147">src/data/ability.ts:147</a></li></ul></aside></li></ul></section>
applying the effect of any inherited class. This can be changed by providing a different attackCondition to the constructor. See <ahref="data_ability.ConfusionOnStatusEffectAbAttr.html"class="tsd-kind-class">ConfusionOnStatusEffectAbAttr</a>
for an example of an effect that does not require a damaging move.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">pokemon</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><spanclass="tsd-kind-parameter">passive</span>: <spanclass="tsd-signature-type">boolean</span></span></li><li><span><spanclass="tsd-kind-parameter">defender</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="data_move.default.html"class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><spanclass="tsd-kind-parameter">hitResult</span>: <spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/field_pokemon.HitResult.html"class="tsd-signature-type tsd-kind-enum">HitResult</a></span></li><li><span><spanclass="tsd-kind-parameter">args</span>: <spanclass="tsd-signature-type">any</span><spanclass="tsd-signature-symbol">[]</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol">></span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/451a1a2c50fe3fc65b7b459b3572454b0ec4706f/src/data/ability.ts#L1539">src/data/ability.ts:1539</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="applyPostAttackAfterMoveTypeCheck"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Post<wbr/>Attack<wbr/>After<wbr/>Move<wbr/>Type<wbr/>Check</span><ahref="#applyPostAttackAfterMoveTypeCheck"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="applyPostAttackAfterMoveTypeCheck.applyPostAttackAfterMoveTypeCheck-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Post<wbr/>Attack<wbr/>After<wbr/>Move<wbr/>Type<wbr/>Check</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">pokemon</span>, <spanclass="tsd-kind-parameter">passive</span>, <spanclass="tsd-kind-parameter">defender</span>, <spanclass="tsd-kind-parameter">move</span>, <spanclass="tsd-kind-parameter">hitResult</span>, <spanclass="tsd-kind-parameter">args</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol">></span><ahref="#applyPostAttackAfterMoveTypeCheck.applyPostAttackAfterMoveTypeCheck-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is only called after <ahref="data_ability.PostAttackAbAttr.html#applyPostAttack"class="tsd-kind-method">applyPostAttack</a> has already been applied. Use this for handling checks specific to the ability in question.</p>