</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_ProtectAttr"class="tsd-anchor"></a><spanclass="tsd-kind-constructor-signature">new <wbr/>Protect<wbr/>Attr</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">tagType</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_move.ProtectAttr.html"class="tsd-signature-type tsd-kind-class">ProtectAttr</a><ahref="#constructor.new_ProtectAttr"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">tagType</span>: <ahref="../enums/data_enums_battler_tag_type.BattlerTagType.html"class="tsd-signature-type tsd-kind-enum">BattlerTagType</a><spanclass="tsd-signature-symbol"> = BattlerTagType.PROTECTED</span></span></li></ul></div><h4class="tsd-returns-title">Returns <ahref="data_move.ProtectAttr.html"class="tsd-signature-type tsd-kind-class">ProtectAttr</a></h4><asideclass="tsd-sources"><p>Overrides <ahref="data_move.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#constructor">constructor</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L3968">src/data/move.ts:3968</a></li></ul></aside></li></ul></section></section><sectionclass="tsd-panel-group tsd-member-group"><h2>Properties</h2><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.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#firstHitOnly">firstHitOnly</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L795">src/data/move.ts:795</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.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#selfTarget">selfTarget</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L718">src/data/move.ts:718</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="tagType"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>tag<wbr/>Type</span><ahref="#tagType"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">tag<wbr/>Type</span><spanclass="tsd-signature-symbol">:</span><ahref="../enums/data_enums_battler_tag_type.BattlerTagType.html"class="tsd-signature-type tsd-kind-enum">BattlerTagType</a></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#tagType">tagType</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L3790">src/data/move.ts:3790</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.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#trigger">trigger</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L793">src/data/move.ts:793</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="turnCountMax"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>turn<wbr/>Count<wbr/>Max</span><ahref="#turnCountMax"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">turn<wbr/>Count<wbr/>Max</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#turnCountMax">turnCountMax</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L3792">src/data/move.ts:3792</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="turnCountMin"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>turn<wbr/>Count<wbr/>Min</span><ahref="#turnCountMin"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">turn<wbr/>Count<wbr/>Min</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#turnCountMin">turnCountMin</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L3791">src/data/move.ts:3791</a></li></ul></aside></section></section><sectionclass="tsd-panel-group tsd-member-group"><h2>Methods</h2><sectionclass="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>Inherited from <ahref="data_move.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#apply">apply</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L3804">src/data/move.ts:3804</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.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#canApply">canApply</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L812">src/data/move.ts:812</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.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#getCondition">getCondition</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L3972">src/data/move.ts:3972</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>
</div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#getTargetBenefitScore">getTargetBenefitScore</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/eb058d7eb7c4a59edb5452fd035d7412aa543f5e/src/data/move.ts#L3869">src/data/move.ts:3869</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>