mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 00:06:18 +00:00
212 lines
129 KiB
HTML
212 lines
129 KiB
HTML
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | pokemon-rogue-battle</title><meta name="description" content="Documentation for pokemon-rogue-battle"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../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><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">pokemon-rogue-battle</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">pokemon-rogue-battle</a></li><li><a href="../modules/data_move.html">data/move</a></li><li><a href="data_move.default.html">default</a></li></ul><h1>Class default</h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#data/move.default">view full</a>)</h4><ul class="tsd-hierarchy"><li><span class="target">default</span><ul class="tsd-hierarchy"><li><a href="data_move.AttackMove.html" class="tsd-signature-type tsd-kind-class">AttackMove</a></li><li><a href="data_move.StatusMove.html" class="tsd-signature-type tsd-kind-class">StatusMove</a></li><li><a href="data_move.SelfStatusMove.html" class="tsd-signature-type tsd-kind-class">SelfStatusMove</a></li></ul></li></ul></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/plugins_i18n.Localizable.html" class="tsd-signature-type tsd-kind-interface">Localizable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L98">src/data/move.ts:98</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="data_move.default.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="data_move.default.html#accuracy" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>accuracy</span></a>
|
|
<a href="data_move.default.html#attrs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>attrs</span></a>
|
|
<a href="data_move.default.html#category" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>category</span></a>
|
|
<a href="data_move.default.html#chance" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>chance</span></a>
|
|
<a href="data_move.default.html#conditions" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>conditions</span></a>
|
|
<a href="data_move.default.html#defaultType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Type</span></a>
|
|
<a href="data_move.default.html#effect" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>effect</span></a>
|
|
<a href="data_move.default.html#flags" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>flags</span></a>
|
|
<a href="data_move.default.html#generation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>generation</span></a>
|
|
<a href="data_move.default.html#id" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a>
|
|
<a href="data_move.default.html#moveTarget" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>move<wbr/>Target</span></a>
|
|
<a href="data_move.default.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
|
|
<a href="data_move.default.html#nameAppend" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name<wbr/>Append</span></a>
|
|
<a href="data_move.default.html#power" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>power</span></a>
|
|
<a href="data_move.default.html#pp" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pp</span></a>
|
|
<a href="data_move.default.html#priority" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>priority</span></a>
|
|
<a href="data_move.default.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
|
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="data_move.default.html#addAttr" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Attr</span></a>
|
|
<a href="data_move.default.html#applyConditions" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Conditions</span></a>
|
|
<a href="data_move.default.html#attr" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>attr</span></a>
|
|
<a href="data_move.default.html#ballBombMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ball<wbr/>Bomb<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#bitingMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>biting<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#checkAllHits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>All<wbr/>Hits</span></a>
|
|
<a href="data_move.default.html#checkFlag" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>Flag</span></a>
|
|
<a href="data_move.default.html#condition" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>condition</span></a>
|
|
<a href="data_move.default.html#danceMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dance<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#findAttr" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Attr</span></a>
|
|
<a href="data_move.default.html#getAttrs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Attrs</span></a>
|
|
<a href="data_move.default.html#getFailedText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Failed<wbr/>Text</span></a>
|
|
<a href="data_move.default.html#getTargetBenefitScore" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Target<wbr/>Benefit<wbr/>Score</span></a>
|
|
<a href="data_move.default.html#getUserBenefitScore" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>User<wbr/>Benefit<wbr/>Score</span></a>
|
|
<a href="data_move.default.html#hasAttr" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Attr</span></a>
|
|
<a href="data_move.default.html#hasFlag" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Flag</span></a>
|
|
<a href="data_move.default.html#hidesTarget" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hides<wbr/>Target</span></a>
|
|
<a href="data_move.default.html#hidesUser" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hides<wbr/>User</span></a>
|
|
<a href="data_move.default.html#ignoresAbilities" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ignores<wbr/>Abilities</span></a>
|
|
<a href="data_move.default.html#ignoresProtect" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ignores<wbr/>Protect</span></a>
|
|
<a href="data_move.default.html#ignoresVirtual" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ignores<wbr/>Virtual</span></a>
|
|
<a href="data_move.default.html#isAllyTarget" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Ally<wbr/>Target</span></a>
|
|
<a href="data_move.default.html#isMultiTarget" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Multi<wbr/>Target</span></a>
|
|
<a href="data_move.default.html#isTypeImmune" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Type<wbr/>Immune</span></a>
|
|
<a href="data_move.default.html#localize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>localize</span></a>
|
|
<a href="data_move.default.html#makesContact" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>makes<wbr/>Contact</span></a>
|
|
<a href="data_move.default.html#partial" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>partial</span></a>
|
|
<a href="data_move.default.html#powderMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>powder<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#pulseMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pulse<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#punchingMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>punching<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#recklessMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reckless<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#setFlag" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Flag</span></a>
|
|
<a href="data_move.default.html#slicingMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>slicing<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#soundBased" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sound<wbr/>Based</span></a>
|
|
<a href="data_move.default.html#target" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>target</span></a>
|
|
<a href="data_move.default.html#triageMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>triage<wbr/>Move</span></a>
|
|
<a href="data_move.default.html#unimplemented" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>unimplemented</span></a>
|
|
<a href="data_move.default.html#windMove" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wind<wbr/>Move</span></a>
|
|
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_default" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new default</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span>, <span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">category</span>, <span class="tsd-kind-parameter">defaultMoveTarget</span>, <span class="tsd-kind-parameter">power</span>, <span class="tsd-kind-parameter">accuracy</span>, <span class="tsd-kind-parameter">pp</span>, <span class="tsd-kind-parameter">chance</span>, <span class="tsd-kind-parameter">priority</span>, <span class="tsd-kind-parameter">generation</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#constructor.new_default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <a href="../enums/data_enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a></span></li><li><span><span class="tsd-kind-parameter">type</span>: <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></span></li><li><span><span class="tsd-kind-parameter">category</span>: <a href="../enums/data_move.MoveCategory.html" class="tsd-signature-type tsd-kind-enum">MoveCategory</a></span></li><li><span><span class="tsd-kind-parameter">defaultMoveTarget</span>: <a href="../enums/data_move.MoveTarget.html" class="tsd-signature-type tsd-kind-enum">MoveTarget</a></span></li><li><span><span class="tsd-kind-parameter">power</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">accuracy</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">pp</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">chance</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">priority</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">generation</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L117">src/data/move.ts:117</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member"><a id="accuracy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>accuracy</span><a href="#accuracy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">accuracy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L106">src/data/move.ts:106</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="attrs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>attrs</span><a href="#attrs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">attrs</span><span class="tsd-signature-symbol">:</span> <a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L112">src/data/move.ts:112</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="category" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>category</span><a href="#category" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">category</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_move.MoveCategory.html" class="tsd-signature-type tsd-kind-enum">MoveCategory</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L103">src/data/move.ts:103</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="chance" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>chance</span><a href="#chance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">chance</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L109">src/data/move.ts:109</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="conditions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>conditions</span><a href="#conditions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">conditions</span><span class="tsd-signature-symbol">:</span> <a href="data_move.MoveCondition.html" class="tsd-signature-type tsd-kind-class">MoveCondition</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L113">src/data/move.ts:113</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="defaultType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>default<wbr/>Type</span><a href="#defaultType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">default<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L102">src/data/move.ts:102</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="effect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>effect</span><a href="#effect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">effect</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L108">src/data/move.ts:108</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="flags" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>flags</span><a href="#flags" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">flags</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L114">src/data/move.ts:114</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="generation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generation</span><a href="#generation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">generation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L111">src/data/move.ts:111</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="id" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L99">src/data/move.ts:99</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="moveTarget" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Target</span><a href="#moveTarget" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">move<wbr/>Target</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_move.MoveTarget.html" class="tsd-signature-type tsd-kind-enum">MoveTarget</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L104">src/data/move.ts:104</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L100">src/data/move.ts:100</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="nameAppend" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>name<wbr/>Append</span><a href="#nameAppend" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name<wbr/>Append</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L115">src/data/move.ts:115</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="power" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>power</span><a href="#power" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">power</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L105">src/data/move.ts:105</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="pp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pp</span><a href="#pp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L107">src/data/move.ts:107</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="priority" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>priority</span><a href="#priority" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">priority</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L110">src/data/move.ts:110</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L101">src/data/move.ts:101</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="addAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Attr</span><a href="#addAttr" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="addAttr.addAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Attr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attrAdd</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addAttr.addAttr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a new MoveAttr to the move (appends to the attr array)
|
|
if the MoveAttr also comes with a condition, also adds that to the conditions array: <a href="data_move.MoveCondition.html" class="tsd-kind-class"><code>MoveCondition</code></a>
|
|
Almost identical to <a href="data_move.default.html#attr" class="tsd-kind-method">attr</a>, except you are passing in a MoveAttr object, instead of a constructor and it's arguments</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">attrAdd</span>: <a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.MoveAttr.html" class="tsd-kind-class"><code>MoveAttr</code></a> the attribute to add</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>the called object <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L208">src/data/move.ts:208</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="applyConditions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>apply<wbr/>Conditions</span><a href="#applyConditions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="applyConditions.applyConditions-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">apply<wbr/>Conditions</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">user</span>, <span class="tsd-kind-parameter">target</span>, <span class="tsd-kind-parameter">move</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#applyConditions.applyConditions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Applies each <a href="data_move.MoveCondition.html" class="tsd-kind-class"><code>MoveCondition</code></a> of this move to the params</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">user</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> to apply conditions to</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> to apply conditions to</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> to apply conditions to</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean: false if any of the apply()'s return false, else true</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L574">src/data/move.ts:574</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="attr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>attr</span><a href="#attr" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="attr.attr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">attr</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.default.html#attr.attr-1.T">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">AttrType</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#attr.attr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a new MoveAttr to the move (appends to the attr array)
|
|
if the MoveAttr also comes with a condition, also adds that to the conditions array: <a href="data_move.MoveCondition.html" class="tsd-kind-class"><code>MoveCondition</code></a></p>
|
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="attr.attr-1.T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a><span class="tsd-signature-symbol">)</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">AttrType</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#attr.attr-1.T">T</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.MoveAttr.html" class="tsd-kind-class"><code>MoveAttr</code></a> the constructor of a MoveAttr class</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">ConstructorParameters</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#attr.attr-1.T">T</a><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>the args needed to instantiate a the given class</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>the called object <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L187">src/data/move.ts:187</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="ballBombMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ball<wbr/>Bomb<wbr/>Move</span><a href="#ballBombMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ballBombMove.ballBombMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">ball<wbr/>Bomb<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ballBombMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#ballBombMove.ballBombMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#BALLBOMB_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.BALLBOMB_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">ballBombMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#ELECTRO_BALL" class="tsd-kind-enum-member"><code>Moves.ELECTRO_BALL</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L468">src/data/move.ts:468</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="bitingMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>biting<wbr/>Move</span><a href="#bitingMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="bitingMove.bitingMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">biting<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bitingMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#bitingMove.bitingMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#BITING_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.BITING_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">bitingMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#BITE" class="tsd-kind-enum-member"><code>Moves.BITE</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L413">src/data/move.ts:413</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="checkAllHits" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>check<wbr/>All<wbr/>Hits</span><a href="#checkAllHits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="checkAllHits.checkAllHits-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">check<wbr/>All<wbr/>Hits</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">checkAllHits</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#checkAllHits.checkAllHits-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#CHECK_ALL_HITS" class="tsd-kind-enum-member"><code>MoveFlags.CHECK_ALL_HITS</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">checkAllHits</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#TRIPLE_AXEL" class="tsd-kind-enum-member"><code>Moves.TRIPLE_AXEL</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L534">src/data/move.ts:534</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="checkFlag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>check<wbr/>Flag</span><a href="#checkFlag" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="checkFlag.checkFlag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">check<wbr/>Flag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">flag</span>, <span class="tsd-kind-parameter">user</span>, <span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#checkFlag.checkFlag-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if the move flag applies to the pokemon(s) using/receiving the move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">flag</span>: <a href="../enums/data_move.MoveFlags.html" class="tsd-signature-type tsd-kind-enum">MoveFlags</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/data_move.MoveFlags.html" class="tsd-kind-enum"><code>MoveFlags</code></a> MoveFlag to check on user and/or target</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">user</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the Pokemon using the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the Pokemon receiving the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L546">src/data/move.ts:546</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="condition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>condition</span><a href="#condition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="condition.condition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">condition</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">condition</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#condition.condition-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a move condition to the move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">condition</span>: <a href="data_move.MoveCondition.html" class="tsd-signature-type tsd-kind-class">MoveCondition</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">MoveConditionFunc</span></span><div class="tsd-comment tsd-typography"><p><a href="data_move.MoveCondition.html" class="tsd-kind-class"><code>MoveCondition</code></a> or MoveConditionFunc, appends to conditions array a new MoveCondition object</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>the called object <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L301">src/data/move.ts:301</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="danceMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dance<wbr/>Move</span><a href="#danceMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="danceMove.danceMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">dance<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">danceMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#danceMove.danceMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#DANCE_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.DANCE_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">danceMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#PETAL_DANCE" class="tsd-kind-enum-member"><code>Moves.PETAL_DANCE</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L490">src/data/move.ts:490</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="findAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>find<wbr/>Attr</span><a href="#findAttr" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="findAttr.findAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">find<wbr/>Attr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attrPredicate</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a><a href="#findAttr.findAttr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Takes as input a boolean function and returns the first MoveAttr in attrs that matches true</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">attrPredicate</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">attr</span>: <a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a></h4><p>the first <a href="data_move.MoveAttr.html" class="tsd-kind-class"><code>MoveAttr</code></a> element in attrs that makes the input function return true</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L176">src/data/move.ts:176</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getAttrs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Attrs</span><a href="#getAttrs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getAttrs.getAttrs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Attrs</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.default.html#getAttrs.getAttrs-1.T-1">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attrType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#getAttrs.getAttrs-1.T-1">T</a><span class="tsd-signature-symbol">[]</span><a href="#getAttrs.getAttrs-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get all move attributes that match <code>attrType</code></p>
|
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getAttrs.getAttrs-1.T-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">attrType</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#getAttrs.getAttrs-1.T-1">T</a><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>any attribute that extends <a href="data_move.MoveAttr.html" class="tsd-kind-class"><code>MoveAttr</code></a></p>
|
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#getAttrs.getAttrs-1.T-1">T</a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#getAttrs.getAttrs-1.T-1">T</a></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#getAttrs.getAttrs-1.T-1">T</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of attributes that match <code>attrType</code>, Empty Array if none match.</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L158">src/data/move.ts:158</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getFailedText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Failed<wbr/>Text</span><a href="#getFailedText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getFailedText.getFailedText-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Failed<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">user</span>, <span class="tsd-kind-parameter">target</span>, <span class="tsd-kind-parameter">move</span>, <span class="tsd-kind-parameter">cancelled</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getFailedText.getFailedText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sees if, given the target pokemon, a move fails on it (by looking at each <a href="data_move.MoveAttr.html" class="tsd-kind-class"><code>MoveAttr</code></a> of this move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">user</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> receiving the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> using the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">cancelled</span>: <a href="utils.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p><a href="utils.BooleanHolder.html" class="tsd-kind-class"><code>Utils.BooleanHolder</code></a> to hold boolean value</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>string of the failed text, or null</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L592">src/data/move.ts:592</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getTargetBenefitScore" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Target<wbr/>Benefit<wbr/>Score</span><a href="#getTargetBenefitScore" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getTargetBenefitScore.getTargetBenefitScore-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Target<wbr/>Benefit<wbr/>Score</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">user</span>, <span class="tsd-kind-parameter">target</span>, <span class="tsd-kind-parameter">move</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getTargetBenefitScore.getTargetBenefitScore-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Calculates the targetBenefitScore across all the attributes</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">user</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> receiving the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> using the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>integer representing the total benefitScore</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L630">src/data/move.ts:630</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getUserBenefitScore" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Benefit<wbr/>Score</span><a href="#getUserBenefitScore" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getUserBenefitScore.getUserBenefitScore-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>User<wbr/>Benefit<wbr/>Score</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">user</span>, <span class="tsd-kind-parameter">target</span>, <span class="tsd-kind-parameter">move</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getUserBenefitScore.getUserBenefitScore-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Calculates the userBenefitScore across all the attributes and conditions</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">user</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> receiving the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> using the move</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>integer representing the total benefitScore</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L609">src/data/move.ts:609</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="hasAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Attr</span><a href="#hasAttr" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="hasAttr.hasAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Attr</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.default.html#hasAttr.hasAttr-1.T-2">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attrType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasAttr.hasAttr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check if a move has an attribute that matches <code>attrType</code></p>
|
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="hasAttr.hasAttr-1.T-2" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">attrType</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#hasAttr.hasAttr-1.T-2">T</a><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>any attribute that extends <a href="data_move.MoveAttr.html" class="tsd-kind-class"><code>MoveAttr</code></a></p>
|
|
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#hasAttr.hasAttr-1.T-2">T</a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.AttackMove.html#hasAttr.hasAttr-1.T-2">T</a></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if the move has attribute <code>attrType</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L167">src/data/move.ts:167</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="hasFlag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Flag</span><a href="#hasFlag" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="hasFlag.hasFlag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Flag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">flag</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasFlag.hasFlag-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Getter function that returns if this Move has a MoveFlag</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">flag</span>: <a href="../enums/data_move.MoveFlags.html" class="tsd-signature-type tsd-kind-enum">MoveFlags</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/data_move.MoveFlags.html" class="tsd-kind-enum"><code>MoveFlags</code></a> to check</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L236">src/data/move.ts:236</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="hidesTarget" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hides<wbr/>Target</span><a href="#hidesTarget" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="hidesTarget.hidesTarget-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hides<wbr/>Target</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hidesTarget</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#hidesTarget.hidesTarget-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#HIDE_TARGET" class="tsd-kind-enum-member"><code>MoveFlags.HIDE_TARGET</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">hidesTarget</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#WHIRLWIND" class="tsd-kind-enum-member"><code>Moves.WHIRLWIND</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L402">src/data/move.ts:402</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="hidesUser" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hides<wbr/>User</span><a href="#hidesUser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="hidesUser.hidesUser-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hides<wbr/>User</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hidesUser</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#hidesUser.hidesUser-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#HIDE_USER" class="tsd-kind-enum-member"><code>MoveFlags.HIDE_USER</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">hidesUser</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#TELEPORT" class="tsd-kind-enum-member"><code>Moves.TELEPORT</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L391">src/data/move.ts:391</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="ignoresAbilities" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ignores<wbr/>Abilities</span><a href="#ignoresAbilities" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ignoresAbilities.ignoresAbilities-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">ignores<wbr/>Abilities</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoresAbilities</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#ignoresAbilities.ignoresAbilities-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#IGNORE_ABILITIES" class="tsd-kind-enum-member"><code>MoveFlags.IGNORE_ABILITIES</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">ignoresAbilities</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>sThe value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#SUNSTEEL_STRIKE" class="tsd-kind-enum-member"><code>Moves.SUNSTEEL_STRIKE</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L523">src/data/move.ts:523</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="ignoresProtect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ignores<wbr/>Protect</span><a href="#ignoresProtect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ignoresProtect.ignoresProtect-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">ignores<wbr/>Protect</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoresProtect</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#ignoresProtect.ignoresProtect-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#IGNORE_PROTECT" class="tsd-kind-enum-member"><code>MoveFlags.IGNORE_PROTECT</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">ignoresProtect</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#CURSE" class="tsd-kind-enum-member"><code>Moves.CURSE</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L358">src/data/move.ts:358</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="ignoresVirtual" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ignores<wbr/>Virtual</span><a href="#ignoresVirtual" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ignoresVirtual.ignoresVirtual-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">ignores<wbr/>Virtual</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoresVirtual</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#ignoresVirtual.ignoresVirtual-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#IGNORE_VIRTUAL" class="tsd-kind-enum-member"><code>MoveFlags.IGNORE_VIRTUAL</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">ignoresVirtual</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#NATURE_POWER" class="tsd-kind-enum-member"><code>Moves.NATURE_POWER</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L369">src/data/move.ts:369</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isAllyTarget" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Ally<wbr/>Target</span><a href="#isAllyTarget" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="isAllyTarget.isAllyTarget-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Ally<wbr/>Target</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isAllyTarget.isAllyTarget-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Getter function that returns if the move targets itself or an ally</p>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L266">src/data/move.ts:266</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isMultiTarget" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Multi<wbr/>Target</span><a href="#isMultiTarget" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="isMultiTarget.isMultiTarget-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Multi<wbr/>Target</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isMultiTarget.isMultiTarget-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Getter function that returns if the move hits multiple targets</p>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L245">src/data/move.ts:245</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isTypeImmune" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Type<wbr/>Immune</span><a href="#isTypeImmune" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="isTypeImmune.isTypeImmune-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Type<wbr/>Immune</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isTypeImmune.isTypeImmune-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if the move is immune to certain types
|
|
currently only look at case of Grass types and powder moves</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">type</span>: <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/data_type.Type.html" class="tsd-kind-enum"><code>Type</code></a> enum</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L285">src/data/move.ts:285</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="localize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>localize</span><a href="#localize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="localize.localize-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">localize</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#localize.localize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/plugins_i18n.Localizable.html">Localizable</a>.<a href="../interfaces/plugins_i18n.Localizable.html#localize">localize</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L146">src/data/move.ts:146</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="makesContact" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>makes<wbr/>Contact</span><a href="#makesContact" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="makesContact.makesContact-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">makes<wbr/>Contact</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">makesContact</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#makesContact.makesContact-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#MAKES_CONTACT" class="tsd-kind-enum-member"><code>MoveFlags.MAKES_CONTACT</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">makesContact</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L347">src/data/move.ts:347</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="partial" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>partial</span><a href="#partial" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="partial.partial-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">partial</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#partial.partial-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the move as "partial": appends texts to the move name</p>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>the called object <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L314">src/data/move.ts:314</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="powderMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>powder<wbr/>Move</span><a href="#powderMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="powderMove.powderMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">powder<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">powderMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#powderMove.powderMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#POWDER_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.POWDER_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">powderMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#STUN_SPORE" class="tsd-kind-enum-member"><code>Moves.STUN_SPORE</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L479">src/data/move.ts:479</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="pulseMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pulse<wbr/>Move</span><a href="#pulseMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="pulseMove.pulseMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">pulse<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pulseMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#pulseMove.pulseMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#PULSE_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.PULSE_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">pulseMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#WATER_PULSE" class="tsd-kind-enum-member"><code>Moves.WATER_PULSE</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L424">src/data/move.ts:424</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="punchingMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>punching<wbr/>Move</span><a href="#punchingMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="punchingMove.punchingMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">punching<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">punchingMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#punchingMove.punchingMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#PUNCHING_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.PUNCHING_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">punchingMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#DRAIN_PUNCH" class="tsd-kind-enum-member"><code>Moves.DRAIN_PUNCH</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L435">src/data/move.ts:435</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="recklessMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reckless<wbr/>Move</span><a href="#recklessMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="recklessMove.recklessMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reckless<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">recklessMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#recklessMove.recklessMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#RECKLESS_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.RECKLESS_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">recklessMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value to set the flag to</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_abilities.Abilities.html#RECKLESS" class="tsd-kind-enum-member"><code>Abilities.RECKLESS</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L457">src/data/move.ts:457</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="setFlag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>set<wbr/>Flag</span><a href="#setFlag" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="setFlag.setFlag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Flag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">flag</span>, <span class="tsd-kind-parameter">on</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setFlag.setFlag-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the flags of the move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">flag</span>: <a href="../enums/data_move.MoveFlags.html" class="tsd-signature-type tsd-kind-enum">MoveFlags</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/data_move.MoveFlags.html" class="tsd-kind-enum"><code>MoveFlags</code></a></p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">on</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>a boolean, if True, then "ORs" the flag onto existing ones, if False then "XORs" the flag onto existing ones</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L333">src/data/move.ts:333</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="slicingMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>slicing<wbr/>Move</span><a href="#slicingMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="slicingMove.slicingMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">slicing<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">slicingMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#slicingMove.slicingMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#SLICING_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.SLICING_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">slicingMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#X_SCISSOR" class="tsd-kind-enum-member"><code>Moves.X_SCISSOR</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L446">src/data/move.ts:446</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="soundBased" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sound<wbr/>Based</span><a href="#soundBased" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="soundBased.soundBased-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sound<wbr/>Based</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">soundBased</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#soundBased.soundBased-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#SOUND_BASED" class="tsd-kind-enum-member"><code>MoveFlags.SOUND_BASED</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">soundBased</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#UPROAR" class="tsd-kind-enum-member"><code>Moves.UPROAR</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L380">src/data/move.ts:380</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="target" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>target</span><a href="#target" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="target.target-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">target</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveTarget</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#target.target-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the move target of this move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">moveTarget</span>: <a href="../enums/data_move.MoveTarget.html" class="tsd-signature-type tsd-kind-enum">MoveTarget</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/data_move.MoveTarget.html" class="tsd-kind-enum"><code>MoveTarget</code></a> the move target to set</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>the called object <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L226">src/data/move.ts:226</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="triageMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>triage<wbr/>Move</span><a href="#triageMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="triageMove.triageMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">triage<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">triageMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#triageMove.triageMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#TRIAGE_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.TRIAGE_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">triageMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#ABSORB" class="tsd-kind-enum-member"><code>Moves.ABSORB</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L512">src/data/move.ts:512</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="unimplemented" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>unimplemented</span><a href="#unimplemented" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="unimplemented.unimplemented-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">unimplemented</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#unimplemented.unimplemented-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Marks the move as "unimplemented": appends texts to the move name</p>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>the called object <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L323">src/data/move.ts:323</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="windMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>wind<wbr/>Move</span><a href="#windMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="windMove.windMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">wind<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">windMove</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#windMove.windMove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <a href="../enums/data_move.MoveFlags.html#WIND_MOVE" class="tsd-kind-enum-member"><code>MoveFlags.WIND_MOVE</code></a> flag for the calling Move</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">windMove</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The value (boolean) to set the flag to
|
|
example:</p>
|
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> that called this function</p>
|
|
<div class="tsd-comment tsd-typography"><h4>See</h4><p><a href="../enums/data_enums_moves.Moves.html#HURRICANE" class="tsd-kind-enum-member"><code>Moves.HURRICANE</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/da37069457cb2f27795a334057d7d231aed9c14a/src/data/move.ts#L501">src/data/move.ts:501</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#accuracy" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>accuracy</span></a><a href="#attrs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>attrs</span></a><a href="#category" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>category</span></a><a href="#chance" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>chance</span></a><a href="#conditions" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>conditions</span></a><a href="#defaultType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Type</span></a><a href="#effect" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>effect</span></a><a href="#flags" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>flags</span></a><a href="#generation" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>generation</span></a><a href="#id" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#moveTarget" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>move<wbr/>Target</span></a><a href="#name" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#nameAppend" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name<wbr/>Append</span></a><a href="#power" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>power</span></a><a href="#pp" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pp</span></a><a href="#priority" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>priority</span></a><a href="#type" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#addAttr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Attr</span></a><a href="#applyConditions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Conditions</span></a><a href="#attr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>attr</span></a><a href="#ballBombMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ball<wbr/>Bomb<wbr/>Move</span></a><a href="#bitingMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>biting<wbr/>Move</span></a><a href="#checkAllHits" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>All<wbr/>Hits</span></a><a href="#checkFlag" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>Flag</span></a><a href="#condition" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>condition</span></a><a href="#danceMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dance<wbr/>Move</span></a><a href="#findAttr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Attr</span></a><a href="#getAttrs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Attrs</span></a><a href="#getFailedText" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Failed<wbr/>Text</span></a><a href="#getTargetBenefitScore" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Target<wbr/>Benefit<wbr/>Score</span></a><a href="#getUserBenefitScore" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>User<wbr/>Benefit<wbr/>Score</span></a><a href="#hasAttr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Attr</span></a><a href="#hasFlag" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Flag</span></a><a href="#hidesTarget" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hides<wbr/>Target</span></a><a href="#hidesUser" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hides<wbr/>User</span></a><a href="#ignoresAbilities" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ignores<wbr/>Abilities</span></a><a href="#ignoresProtect" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ignores<wbr/>Protect</span></a><a href="#ignoresVirtual" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ignores<wbr/>Virtual</span></a><a href="#isAllyTarget" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Ally<wbr/>Target</span></a><a href="#isMultiTarget" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Multi<wbr/>Target</span></a><a href="#isTypeImmune" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Type<wbr/>Immune</span></a><a href="#localize" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>localize</span></a><a href="#makesContact" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>makes<wbr/>Contact</span></a><a href="#partial" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>partial</span></a><a href="#powderMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>powder<wbr/>Move</span></a><a href="#pulseMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pulse<wbr/>Move</span></a><a href="#punchingMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>punching<wbr/>Move</span></a><a href="#recklessMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reckless<wbr/>Move</span></a><a href="#setFlag" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Flag</span></a><a href="#slicingMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>slicing<wbr/>Move</span></a><a href="#soundBased" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sound<wbr/>Based</span></a><a href="#target" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>target</span></a><a href="#triageMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>triage<wbr/>Move</span></a><a href="#unimplemented" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>unimplemented</span></a><a href="#windMove" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wind<wbr/>Move</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>pokemon-rogue-battle</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html> |