</div></section></div></details></section></section><sectionclass="tsd-panel-group tsd-member-group"><h2>Constructors</h2><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_AbilityCopyAttr"class="tsd-anchor"></a><spanclass="tsd-kind-constructor-signature">new <wbr/>Ability<wbr/>Copy<wbr/>Attr</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">copyToPartner</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_move.AbilityCopyAttr.html"class="tsd-signature-type tsd-kind-class">AbilityCopyAttr</a><ahref="#constructor.new_AbilityCopyAttr"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">copyToPartner</span>: <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> = false</span></span></li></ul></div><h4class="tsd-returns-title">Returns <ahref="data_move.AbilityCopyAttr.html"class="tsd-signature-type tsd-kind-class">AbilityCopyAttr</a></h4><asideclass="tsd-sources"><p>Overrides <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#constructor">constructor</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L5151">src/data/move.ts:5151</a></li></ul></aside></li></ul></section></section><sectionclass="tsd-panel-group tsd-member-group"><h2>Properties</h2><sectionclass="tsd-panel tsd-member"><aid="copyToPartner"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>copy<wbr/>To<wbr/>Partner</span><ahref="#copyToPartner"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">copy<wbr/>To<wbr/>Partner</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L5149">src/data/move.ts:5149</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="firstHitOnly"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>first<wbr/>Hit<wbr/>Only</span><ahref="#firstHitOnly"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">first<wbr/>Hit<wbr/>Only</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><divclass="tsd-comment tsd-typography"><p>Should this effect only apply on the first hit?</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#firstHitOnly">firstHitOnly</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L800">src/data/move.ts:800</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="selfTarget"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>self<wbr/>Target</span><ahref="#selfTarget"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">self<wbr/>Target</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><divclass="tsd-comment tsd-typography"><p>Should this <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> target the user?</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#selfTarget">selfTarget</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L723">src/data/move.ts:723</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="trigger"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>trigger</span><ahref="#trigger"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">trigger</span><spanclass="tsd-signature-symbol">:</span><ahref="../enums/data_move.MoveEffectTrigger.html"class="tsd-signature-type tsd-kind-enum">MoveEffectTrigger</a></div><divclass="tsd-comment tsd-typography"><p>Defines when this effect should trigger in the move's effect order</p>
</div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#trigger">trigger</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L798">src/data/move.ts:798</a></li></ul></aside></section></section><sectionclass="tsd-panel-group tsd-member-group"><h2>Methods</h2><sectionclass="tsd-panel tsd-member"><aid="apply"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply</span><ahref="#apply"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="apply.apply-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span>, <spanclass="tsd-kind-parameter">args</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#apply.apply-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>Applies move effects so long as they are able based on <ahref="data_move.MoveEffectAttr.html#canApply"class="tsd-kind-method"><code>canApply</code></a></p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><spanclass="tsd-kind-parameter">target</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">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></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Overrides <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#apply">apply</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L5157">src/data/move.ts:5157</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="canApply"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>can<wbr/>Apply</span><ahref="#canApply"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="canApply.canApply-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">can<wbr/>Apply</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span>, <spanclass="tsd-kind-parameter">args</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#canApply.canApply-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>Determines whether the <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a>'s effects are valid to <ahref="data_move.MoveEffectAttr.html#apply"class="tsd-kind-method"><code>apply</code></a></p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> target of the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="data_move.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> with this attribute</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">args</span>: <spanclass="tsd-signature-type">any</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>Set of unique arguments needed by this attribute</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if basic application of the ability attribute should be possible</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#canApply">canApply</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L817">src/data/move.ts:817</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getCondition"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Condition</span><ahref="#getCondition"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="getCondition.getCondition-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Condition</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">MoveConditionFunc</span><ahref="#getCondition.getCondition-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"><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">MoveConditionFunc</span></h4><p>the <ahref="data_move.MoveCondition.html"class="tsd-kind-class"><code>MoveCondition</code></a> or MoveConditionFunc for this <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Overrides <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#getCondition">getCondition</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L5174">src/data/move.ts:5174</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="getFailedText"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Failed<wbr/>Text</span><ahref="#getFailedText"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="getFailedText.getFailedText-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Failed<wbr/>Text</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span>, <spanclass="tsd-kind-parameter">cancelled</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span><ahref="#getFailedText.getFailedText-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">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> target of the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="data_move.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> with this attribute</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">cancelled</span>: <ahref="utils.BooleanHolder.html"class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><divclass="tsd-comment tsd-typography"><p><ahref="utils.BooleanHolder.html"class="tsd-kind-class"><code>Utils.BooleanHolder</code></a> which stores if the move should fail</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">string</span></h4><p>the string representing failure of this <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#getFailedText">getFailedText</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L759">src/data/move.ts:759</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="getTargetBenefitScore"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Target<wbr/>Benefit<wbr/>Score</span><ahref="#getTargetBenefitScore"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="getTargetBenefitScore.getTargetBenefitScore-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Target<wbr/>Benefit<wbr/>Score</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#getTargetBenefitScore.getTargetBenefitScore-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>Used by the Enemy AI to rank an attack based on a given target</p>
</div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.MoveEffectAttr.html">MoveEffectAttr</a>.<ahref="data_move.MoveEffectAttr.html#getTargetBenefitScore">getTargetBenefitScore</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/fd1baef244d949879b3b588498cd4bd48e586711/src/data/move.ts#L777">src/data/move.ts:777</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="getUserBenefitScore"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Benefit<wbr/>Score</span><ahref="#getUserBenefitScore"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="getUserBenefitScore.getUserBenefitScore-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>User<wbr/>Benefit<wbr/>Score</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#getUserBenefitScore.getUserBenefitScore-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>Used by the Enemy AI to rank an attack based on a given user</p>