<!DOCTYPE html><htmlclass="default"lang="en"><head><metacharset="utf-8"/><metahttp-equiv="x-ua-compatible"content="IE=edge"/><title>JawLockAttr | pokemon-rogue-battle</title><metaname="description"content="Documentation for pokemon-rogue-battle"/><metaname="viewport"content="width=device-width, initial-scale=1"/><linkrel="stylesheet"href="../assets/style.css"/><linkrel="stylesheet"href="../assets/highlight.css"/><scriptdefersrc="../assets/main.js"></script><scriptasyncsrc="../assets/icons.js"id="tsd-icons-script"></script><scriptasyncsrc="../assets/search.js"id="tsd-search-script"></script><scriptasyncsrc="../assets/navigation.js"id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme=localStorage.getItem("tsd-theme")||"os";document.body.style.display="none";setTimeout(()=>app?app.showPage():document.body.style.removeProperty("display"),500)</script><headerclass="tsd-page-toolbar"><divclass="tsd-toolbar-contents container"><divclass="table-cell"id="tsd-search"data-base=".."><divclass="field"><labelfor="tsd-search-field"class="tsd-widget tsd-toolbar-icon search no-caption"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-search"></use></svg></label><inputtype="text"id="tsd-search-field"aria-label="Search"/></div><divclass="field"><divid="tsd-toolbar-links"></div></div><ulclass="results"><liclass="state loading">Preparing search index...</li><liclass="state failure">The search index is not available</li></ul><ahref="../index.html"class="title">pokemon-rogue-battle</a></div><divclass="table-cell"id="tsd-widgets"><ahref="#"class="tsd-widget tsd-toolbar-icon menu no-caption"data-toggle="menu"aria-label="Menu"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><divclass="container container-main"><divclass="col-content"><divclass="tsd-page-title"><ulclass="tsd-breadcrumb"><li><ahref="../index.html">pokemon-rogue-battle</a></li><li><ahref="../modules/data_move.html">data/move</a></li><li><ahref="data_move.JawLockAttr.html">JawLockAttr</a></li></ul><h1>Class JawLockAttr</h1></div><sectionclass="tsd-panel tsd-comment"><divclass="tsd-comment tsd-typography"><p>Attribute to implement Jaw Lock's linked trapping effect between the user and target</p>
</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_JawLockAttr"class="tsd-anchor"></a><spanclass="tsd-kind-constructor-signature">new <wbr/>Jaw<wbr/>Lock<wbr/>Attr</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_move.JawLockAttr.html"class="tsd-signature-type tsd-kind-class">JawLockAttr</a><ahref="#constructor.new_JawLockAttr"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 <ahref="data_move.JawLockAttr.html"class="tsd-signature-type tsd-kind-class">JawLockAttr</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L4658">src/data/move.ts:4658</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-protected tsd-is-inherited"><aid="cancelOnFail"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Protected</code><span>cancel<wbr/>On<wbr/>Fail</span><ahref="#cancelOnFail"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">cancel<wbr/>On<wbr/>Fail</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_move.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#cancelOnFail">cancelOnFail</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L4495">src/data/move.ts:4495</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.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#firstHitOnly">firstHitOnly</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L985">src/data/move.ts:985</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="firstTargetOnly"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>first<wbr/>Target<wbr/>Only</span><ahref="#firstTargetOnly"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/>Target<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 target 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#firstTargetOnly">firstTargetOnly</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L989">src/data/move.ts:989</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="lastHitOnly"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>last<wbr/>Hit<wbr/>Only</span><ahref="#lastHitOnly"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">last<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 last 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#lastHitOnly">lastHitOnly</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L987">src/data/move.ts:987</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L908">src/data/move.ts:908</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/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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L4492">src/data/move.ts:4492</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L983">src/data/move.ts:983</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L4494">src/data/move.ts:4494</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L4493">src/data/move.ts:4493</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"><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.AddBattlerTagAttr.html">AddBattlerTagAttr</a>.<ahref="data_move.AddBattlerTagAttr.html#apply">apply</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L4662">src/data/move.ts:4662</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>
</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">null</span><spanclass="tsd-signature-symbol"> | </span><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>
If user's ability has MoveEffectChanceMultiplierAbAttr or IgnoreMoveEffectsAbAttr modifies the base chance.</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 this 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 this 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> being used</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag">Optional</code><spanclass="tsd-kind-parameter">selfEffect</span>: <spanclass="tsd-signature-type">Boolean</span></span><divclass="tsd-comment tsd-typography"><p>Boolean if move targets user.</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/data/move.ts#L4580">src/data/move.ts:4580</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>