pokerogue/main/classes/data_move.ChargingAttackMove.html

230 lines
161 KiB
HTML
Raw Normal View History

2024-10-27 02:36:13 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ChargingAttackMove | 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.ChargingAttackMove.html">ChargingAttackMove</a></li></ul><h1>Class ChargingAttackMove</h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">(Anonymous class)</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-keyword">typeof </span><a href="data_move.AttackMove.html" class="tsd-signature-type tsd-kind-class">AttackMove</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">this</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> &amp; </span><a href="data_move.AttackMove.html" class="tsd-signature-type tsd-kind-class">AttackMove</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">this</span><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li><span class="target">ChargingAttackMove</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L973">src/data/move.ts:973</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-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.ChargingAttackMove.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>const
2024-10-26 22:31:27 +01:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="data_move.ChargingAttackMove.html#accuracy" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#attrs" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#chance" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#chargeAnim" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>charge<wbr/>Anim</span></a>
<a href="data_move.ChargingAttackMove.html#chargeAttrs" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>charge<wbr/>Attrs</span></a>
<a href="data_move.ChargingAttackMove.html#effect" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#generation" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#id" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#moveTarget" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#name" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#power" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#pp" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#priority" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>priority</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="data_move.ChargingAttackMove.html#category" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>category</span></a>
<a href="data_move.ChargingAttackMove.html#type" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></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.ChargingAttackMove.html#addAttr" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#applyConditions" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#attr" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#ballBombMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#bitingMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#calculateBattleAccuracy" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>Battle<wbr/>Accuracy</span></a>
<a href="data_move.ChargingAttackMove.html#calculateBattlePower" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>Battle<wbr/>Power</span></a>
<a href="data_move.ChargingAttackMove.html#chargeAttr" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>charge<wbr/>Attr</span></a>
<a href="data_move.ChargingAttackMove.html#chargeText" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>charge<wbr/>Text</span></a>
<a href="data_move.ChargingAttackMove.html#checkAllHits" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#checkFlag" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#condition" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#danceMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#edgeCase" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>edge<wbr/>Case</span></a>
<a href="data_move.ChargingAttackMove.html#findAttr" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#getAttrs" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#getChargeAttrs" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Charge<wbr/>Attrs</span></a>
<a href="data_move.ChargingAttackMove.html#getFailedText" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#getTargetBenefitScore" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#getUserBenefitScore" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#hasAttr" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#hasChargeAttr" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Charge<wbr/>Attr</span></a>
<a href="data_move.ChargingAttackMove.html#hasFlag" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#hidesTarget" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#hidesUser" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#hitsSubstitute" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hits<wbr/>Substitute</span></a>
<a href="data_move.ChargingAttackMove.html#ignoresAbilities" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#ignoresProtect" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#ignoresSubstitute" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ignores<wbr/>Substitute</span></a>
<a href="data_move.ChargingAttackMove.html#ignoresVirtual" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#isAllyTarget" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#isChargingMove" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Charging<wbr/>Move</span></a>
<a href="data_move.ChargingAttackMove.html#isMultiTarget" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#isTypeImmune" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#localize" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#makesContact" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#partial" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#powderMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#pulseMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#punchingMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#recklessMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#redirectCounter" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>redirect<wbr/>Counter</span></a>
<a href="data_move.ChargingAttackMove.html#showChargeText" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Charge<wbr/>Text</span></a>
<a href="data_move.ChargingAttackMove.html#slicingMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#soundBased" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#target" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#triageMove" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#unimplemented" class="tsd-index-link tsd-is-inherited"><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.ChargingAttackMove.html#windMove" class="tsd-index-link tsd-is-inherited"><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>
2024-10-27 02:36:13 +00:00
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><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_ChargingAttackMove" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Charging<wbr/>Attack<wbr/>Move</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">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.ChargingAttackMove.html" class="tsd-signature-type tsd-kind-class">ChargingAttackMove</a><a href="#constructor.new_ChargingAttackMove" 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/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">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.ChargingAttackMove.html" class="tsd-signature-type tsd-kind-class">ChargingAttackMove</a></h4><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).constructor</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L831">src/data/move.ts:831</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited"><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"><
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).chance</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L138">src/data/move.ts:138</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="chargeAnim" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>charge<wbr/>Anim</span><a href="#chargeAnim" 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">charge<wbr/>Anim</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_battle_anims.ChargeAnim.html" class="tsd-signature-type tsd-kind-enum">ChargeAnim</a><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>The animation to play during the move's charging phase</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).chargeAnim</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L904">src/data/move.ts:904</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="chargeAttrs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>charge<wbr/>Attrs</span><a href="#chargeAttrs" 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">charge<wbr/>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><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><p>Move attributes that apply during the move's charging phase</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).chargeAttrs</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L909">src/data/move.ts:909</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><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"><p>Inherited from ChargeMove(AttackMove).effect</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L136">src/data/move.ts:136</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><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"><p>Inherited from ChargeMove(AttackMove).generation</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L140">src/data/move.ts:140</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><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/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).id</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L128">src/data/move.ts:128</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><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"><p>Inherited from ChargeMove(AttackMove).moveTarget</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L132">src/data/move.ts:132</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><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"><p>Inherited from ChargeMove(AttackMove).name</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L129">src/data/move.ts:129</a></l
2024-10-26 22:31:27 +01:00
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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).addAttr</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L238">src/data/move.ts:238</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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> function of this move to the params, determines if the move can be used prior to calling each attribute's apply()</p>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).applyConditions</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L658">src/data/move.ts:658</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#attr.attr-1.T">T</a><span class="tsd-signature-symbol">&gt;</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)
2024-10-26 22:31:27 +01:00
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><a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a><span class="tsd-signature-symbol">&gt;</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">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">&lt;</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">&gt;</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).attr</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L217">src/data/move.ts:217</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See" class="tsd-anchor"></a>See<a href="#See" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#ELECTRO_BALL" class="tsd-kind-enum-member"><code>Moves.ELECTRO_BALL</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).ballBombMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L531">src/data/move.ts:531</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-1" class="tsd-anchor"></a>See<a href="#See-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#BITE" class="tsd-kind-enum-member"><code>Moves.BITE</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).bitingMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L481">src/data/move.ts:481</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="calculateBattleAccuracy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>calculate<wbr/>Battle<wbr/>Accuracy</span><a href="#calculateBattleAccuracy" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="calculateBattleAccuracy.calculateBattleAccuracy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calculate<wbr/>Battle<wbr/>Accuracy</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">simulated</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#calculateBattleAccuracy.calculateBattleAccuracy-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 accuracy of a move in battle based on various conditions and attributes.</p>
2024-10-26 22:31:27 +01:00
</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> The Pokémon 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 Pokémon being targeted by the move.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The calculated accuracy of the move.</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).calculateBattleAccuracy</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L732">src/data/move.ts:732</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="calculateBattlePower" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>calculate<wbr/>Battle<wbr/>Power</span><a href="#calculateBattlePower" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="calculateBattlePower.calculateBattlePower-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calculate<wbr/>Battle<wbr/>Power</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span>, <span class="tsd-kind-parameter">target</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#calculateBattlePower.calculateBattlePower-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 power of a move in battle based on various conditions and attributes.</p>
2024-10-26 22:31:27 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">source</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 Pokémon 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 Pokémon being targeted by the move.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The calculated power of the move.</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).calculateBattlePower</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L770">src/data/move.ts:770</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="chargeAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>charge<wbr/>Attr</span><a href="#chargeAttr" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="chargeAttr.chargeAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">charge<wbr/>Attr</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#chargeAttr.chargeAttr-1.T-1">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ChargeAttrType</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="#chargeAttr.chargeAttr-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 an attribute to this move to be applied during the move's charging phase</p>
2024-10-26 22:31:27 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="chargeAttr.chargeAttr-1.T-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a><span class="tsd-signature-symbol">&gt;</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">ChargeAttrType</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#chargeAttr.chargeAttr-1.T-1">T</a></span><div class="tsd-comment tsd-typography"><p>the type of <a href="data_move.MoveAttr.html" class="tsd-kind-class"><code>MoveAttr</code></a> being added</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">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">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#chargeAttr.chargeAttr-1.T-1">T</a><span class="tsd-signature-symbol">&gt;</span></span><div class="tsd-comment tsd-typography"><p>the parameters to construct the given <a href="data_move.MoveAttr.html" class="tsd-kind-class"><code>MoveAttr</code></a> with</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>this <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> (for chaining API purposes)</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).chargeAttr</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L964">src/data/move.ts:964</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="chargeText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>charge<wbr/>Text</span><a href="#chargeText" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="chargeText.chargeText-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">charge<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">chargeText</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#chargeText.chargeText-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 text to be displayed during this move's charging phase.
2024-10-26 22:31:27 +01:00
References to the user Pokemon should be written as &quot;{USER}&quot;, and
references to the target Pokemon should be written as &quot;{TARGET}&quot;.</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">chargeText</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the text 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>this <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> (for chaining API purposes)</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).chargeText</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L922">src/data/move.ts:922</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-2" class="tsd-anchor"></a>See<a href="#See-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#TRIPLE_AXEL" class="tsd-kind-enum-member"><code>Moves.TRIPLE_AXEL</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).checkAllHits</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L591">src/data/move.ts:591</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>
2024-10-26 22:31:27 +01:00
</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>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).checkFlag</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L623">src/data/move.ts:623</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).condition</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L366">src/data/move.ts:366</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-3" class="tsd-anchor"></a>See<a href="#See-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#PETAL_DANCE" class="tsd-kind-enum-member"><code>Moves.PETAL_DANCE</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).danceMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L551">src/data/move.ts:551</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="edgeCase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>edge<wbr/>Case</span><a href="#edgeCase" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="edgeCase.edgeCase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">edge<wbr/>Case</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="#edgeCase.edgeCase-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>Internal dev flag for documenting edge cases. When using this, please document the known edge case.</p>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).edgeCase</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L379">src/data/move.ts:379</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>
2024-10-26 22:31:27 +01:00
</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><a href="data_move.MoveAttr.html" class="tsd-signature-type tsd-kind-class">MoveAttr</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).findAttr</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L206">src/data/move.ts:206</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#getAttrs.getAttrs-1.T-2">T</a><span class="tsd-signature-symbol">&gt;</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>
2024-10-26 22:31:27 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getAttrs.getAttrs-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>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</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">&gt;</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></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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).getAttrs</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L188">src/data/move.ts:188</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getChargeAttrs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Charge<wbr/>Attrs</span><a href="#getChargeAttrs" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getChargeAttrs.getChargeAttrs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Charge<wbr/>Attrs</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#getChargeAttrs.getChargeAttrs-1.T-3">T</a><span class="tsd-signature-symbol">&gt;</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.ChargingAttackMove.html#getChargeAttrs.getChargeAttrs-1.T-3">T</a><span class="tsd-signature-symbol">[]</span><a href="#getChargeAttrs.getChargeAttrs-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>Gets all charge attributes of the given attribute type.</p>
2024-10-26 22:31:27 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getChargeAttrs.getChargeAttrs-1.T-3" 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>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#getChargeAttrs.getChargeAttrs-1.T-3">T</a><span class="tsd-signature-symbol">&gt;</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></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#getChargeAttrs.getChargeAttrs-1.T-3">T</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of attributes that match <code>attrType</code>, or an empty array if
no matches are found.</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).getChargeAttrs</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L945">src/data/move.ts:945</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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">null</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>
2024-10-26 22:31:27 +01:00
</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><p>string of the failed text, or null</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).getFailedText</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L676">src/data/move.ts:676</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).getTargetBenefitScore</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L714">src/data/move.ts:714</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).getUserBenefitScore</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L693">src/data/move.ts:693</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#hasAttr.hasAttr-1.T-4">T</a><span class="tsd-signature-symbol">&gt;</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>
2024-10-26 22:31:27 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="hasAttr.hasAttr-1.T-4" 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>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</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">&gt;</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></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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).hasAttr</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L197">src/data/move.ts:197</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hasChargeAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Charge<wbr/>Attr</span><a href="#hasChargeAttr" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hasChargeAttr.hasChargeAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Charge<wbr/>Attr</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#hasChargeAttr.hasChargeAttr-1.T-5">T</a><span class="tsd-signature-symbol">&gt;</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="#hasChargeAttr.hasChargeAttr-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 this move has an attribute of the given type.</p>
2024-10-26 22:31:27 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="hasChargeAttr.hasChargeAttr-1.T-5" 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>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data_move.ChargingAttackMove.html#hasChargeAttr.hasChargeAttr-1.T-5">T</a><span class="tsd-signature-symbol">&gt;</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></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if a matching attribute is found; <code>false</code> otherwise</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).hasChargeAttr</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L954">src/data/move.ts:954</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).hasFlag</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L266">src/data/move.ts:266</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-4" class="tsd-anchor"></a>See<a href="#See-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#WHIRLWIND" class="tsd-kind-enum-member"><code>Moves.WHIRLWIND</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).hidesTarget</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L471">src/data/move.ts:471</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-5" class="tsd-anchor"></a>See<a href="#See-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#TELEPORT" class="tsd-kind-enum-member"><code>Moves.TELEPORT</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).hidesUser</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L461">src/data/move.ts:461</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hitsSubstitute" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hits<wbr/>Substitute</span><a href="#hitsSubstitute" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hitsSubstitute.hitsSubstitute-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hits<wbr/>Substitute</span><span class="tsd-signature-symbol">(</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="#hitsSubstitute.hitsSubstitute-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 would hit its target's Substitute instead of the target itself.</p>
2024-10-26 22:31:27 +01:00
</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>The <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> using this move</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">target</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>The <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> targeted by this 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><code>true</code> if the move can bypass the target's Substitute; <code>false</code> otherwise.</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).hitsSubstitute</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L346">src/data/move.ts:346</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-6" class="tsd-anchor"></a>See<a href="#See-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#SUNSTEEL_STRIKE" class="tsd-kind-enum-member"><code>Moves.SUNSTEEL_STRIKE</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).ignoresAbilities</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L581">src/data/move.ts:581</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-7" class="tsd-anchor"></a>See<a href="#See-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#CURSE" class="tsd-kind-enum-member"><code>Moves.CURSE</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).ignoresProtect</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L431">src/data/move.ts:431</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="ignoresSubstitute" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ignores<wbr/>Substitute</span><a href="#ignoresSubstitute" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="ignoresSubstitute.ignoresSubstitute-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">ignores<wbr/>Substitute</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="#ignoresSubstitute.ignoresSubstitute-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_SUBSTITUTE" class="tsd-kind-enum-member"><code>MoveFlags.IGNORE_SUBSTITUTE</code></a> flag for the calling Move</p>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-8" class="tsd-anchor"></a>See<a href="#See-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#WHIRLWIND" class="tsd-kind-enum-member"><code>Moves.WHIRLWIND</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).ignoresSubstitute</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L601">src/data/move.ts:601</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-9" class="tsd-anchor"></a>See<a href="#See-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#NATURE_POWER" class="tsd-kind-enum-member"><code>Moves.NATURE_POWER</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).ignoresVirtual</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L441">src/data/move.ts:441</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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 the user or its ally</p>
2024-10-26 22:31:27 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).isAllyTarget</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L295">src/data/move.ts:295</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isChargingMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Charging<wbr/>Move</span><a href="#isChargingMove" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isChargingMove.isChargingMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Charging<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-kind-parameter">this</span><span class="tsd-signature-keyword"> is </span><a href="../types/data_move.ChargingMove.html" class="tsd-signature-type tsd-kind-type-alias">ChargingMove</a><a href="#isChargingMove.isChargingMove-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-kind-parameter">this</span><span class="tsd-signature-keyword"> is </span><a href="../types/data_move.ChargingMove.html" class="tsd-signature-type tsd-kind-type-alias">ChargingMove</a></h4><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).isChargingMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L911">src/data/move.ts:911</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>
2024-10-26 22:31:27 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean</p>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).isMultiTarget</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L275">src/data/move.ts:275</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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">user</span>, <span class="tsd-kind-parameter">target</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.
2024-10-26 22:31:27 +01:00
Currently looks at cases of Grass types with powder moves and Dark types with moves affected by Prankster.</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>the source of this 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>the target of this move</p>
</div><div class="tsd-comment tsd-typography"></div></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><div class="tsd-comment tsd-typography"><p>the type of the move's target</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).isTypeImmune</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L320">src/data/move.ts:320</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>Inherited from ChargeMove(AttackMove).localize</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L176">src/data/move.ts:176</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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">setFlag</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>
2024-10-26 22:31:27 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">setFlag</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Default <code>true</code>, set to <code>false</code> if the move doesn't make contact</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 class="tsd-anchor-link"><a id="See-10" class="tsd-anchor"></a>See<a href="#See-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_abilities.Abilities.html#STATIC" class="tsd-kind-enum-member"><code>Abilities.STATIC</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).makesContact</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L421">src/data/move.ts:421</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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 &quot;partial&quot;: appends texts to the move name</p>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).partial</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L387">src/data/move.ts:387</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-11" class="tsd-anchor"></a>See<a href="#See-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#STUN_SPORE" class="tsd-kind-enum-member"><code>Moves.STUN_SPORE</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).powderMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L541">src/data/move.ts:541</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-12" class="tsd-anchor"></a>See<a href="#See-12" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#WATER_PULSE" class="tsd-kind-enum-member"><code>Moves.WATER_PULSE</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).pulseMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L491">src/data/move.ts:491</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-13" class="tsd-anchor"></a>See<a href="#See-13" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#DRAIN_PUNCH" class="tsd-kind-enum-member"><code>Moves.DRAIN_PUNCH</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).punchingMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L501">src/data/move.ts:501</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-14" class="tsd-anchor"></a>See<a href="#See-14" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_abilities.Abilities.html#RECKLESS" class="tsd-kind-enum-member"><code>Abilities.RECKLESS</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).recklessMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L521">src/data/move.ts:521</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="redirectCounter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>redirect<wbr/>Counter</span><a href="#redirectCounter" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="redirectCounter.redirectCounter-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">redirect<wbr/>Counter</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="#redirectCounter.redirectCounter-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#REDIRECT_COUNTER" class="tsd-kind-enum-member"><code>MoveFlags.REDIRECT_COUNTER</code></a> flag for the calling Move</p>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-15" class="tsd-anchor"></a>See<a href="#See-15" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#METAL_BURST" class="tsd-kind-enum-member"><code>Moves.METAL_BURST</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).redirectCounter</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L611">src/data/move.ts:611</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="showChargeText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>show<wbr/>Charge<wbr/>Text</span><a href="#showChargeText" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="showChargeText.showChargeText-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">show<wbr/>Charge<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-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#showChargeText.showChargeText-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>Queues the charge text to display to the player</p>
2024-10-26 22:31:27 +01:00
</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>the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> using this move</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><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>the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> targeted by this move (optional)</p>
2024-10-27 02:36:13 +00:00
</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"><p>Inherited from ChargeMove(AttackMove).showChargeText</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L932">src/data/move.ts:932</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-16" class="tsd-anchor"></a>See<a href="#See-16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#X_SCISSOR" class="tsd-kind-enum-member"><code>Moves.X_SCISSOR</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).slicingMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L511">src/data/move.ts:511</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-17" class="tsd-anchor"></a>See<a href="#See-17" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#UPROAR" class="tsd-kind-enum-member"><code>Moves.UPROAR</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).soundBased</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L451">src/data/move.ts:451</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).target</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L256">src/data/move.ts:256</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-18" class="tsd-anchor"></a>See<a href="#See-18" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#ABSORB" class="tsd-kind-enum-member"><code>Moves.ABSORB</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).triageMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L571">src/data/move.ts:571</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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 &quot;unimplemented&quot;: appends texts to the move name</p>
2024-10-26 22:31:27 +01:00
</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>
2024-10-27 02:36:13 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).unimplemented</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L396">src/data/move.ts:396</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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-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>
2024-10-26 22:31:27 +01:00
</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 class="tsd-anchor-link"><a id="See-19" class="tsd-anchor"></a>See<a href="#See-19" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="../enums/enums_moves.Moves.html#HURRICANE" class="tsd-kind-enum-member"><code>Moves.HURRICANE</code></a></p>
2024-10-27 02:36:13 +00:00
</div><aside class="tsd-sources"><p>Inherited from ChargeMove(AttackMove).windMove</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/move.ts#L561">src/data/move.ts:561</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-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"><span class="settings-label">Member Visibility</span><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-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></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><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-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"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><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></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#accuracy" class="tsd-is-inherited"><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="tsd-is-inherited"><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="#chance" class="tsd-is-inherited"><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="#chargeAnim" class="tsd-is-inherited"><sv