pokerogue/main/classes/data_challenge.LowerStarter...

66 lines
57 KiB
HTML

<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LowerStarterMaxCostChallenge | 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_challenge.html">data/challenge</a></li><li><a href="data_challenge.LowerStarterMaxCostChallenge.html">LowerStarterMaxCostChallenge</a></li></ul><h1>Class LowerStarterMaxCostChallenge</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Lowers the amount of starter points available.</p>
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#data/challenge.LowerStarterMaxCostChallenge">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="data_challenge.Challenge.html" class="tsd-signature-type tsd-kind-class">Challenge</a><ul class="tsd-hierarchy"><li><span class="target">LowerStarterMaxCostChallenge</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L454">src/data/challenge.ts:454</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="data_challenge.LowerStarterMaxCostChallenge.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="data_challenge.LowerStarterMaxCostChallenge.html#challengeTypes" 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>challenge<wbr/>Types</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#conditions" 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>conditions</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.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_challenge.LowerStarterMaxCostChallenge.html#maxSeverity" 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>max<wbr/>Severity</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#maxValue" 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>max<wbr/>Value</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#severity" 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>severity</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#value" 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>value</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="data_challenge.LowerStarterMaxCostChallenge.html#addChallengeType" 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/>Challenge<wbr/>Type</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#apply" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.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_challenge.LowerStarterMaxCostChallenge.html#decreaseSeverity" 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>decrease<wbr/>Severity</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#decreaseValue" 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>decrease<wbr/>Value</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#getDescription" 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/>Description</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#getDifficulty" 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/>Difficulty</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#getMinDifficulty" 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/>Min<wbr/>Difficulty</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#getName" 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/>Name</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#getValue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Value</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#geti18nKey" 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>geti18n<wbr/>Key</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#hasSeverity" 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/>Severity</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#increaseSeverity" 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>increase<wbr/>Severity</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#increaseValue" 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>increase<wbr/>Value</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#isOfType" 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/>Of<wbr/>Type</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#isUnlocked" 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/>Unlocked</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#reset" 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>reset</span></a>
<a href="data_challenge.LowerStarterMaxCostChallenge.html#loadChallenge" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Challenge</span></a>
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_LowerStarterMaxCostChallenge" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Lower<wbr/>Starter<wbr/>Max<wbr/>Cost<wbr/>Challenge</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_challenge.LowerStarterMaxCostChallenge.html" class="tsd-signature-type tsd-kind-class">LowerStarterMaxCostChallenge</a><a href="#constructor.new_LowerStarterMaxCostChallenge" 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 <a href="data_challenge.LowerStarterMaxCostChallenge.html" class="tsd-signature-type tsd-kind-class">LowerStarterMaxCostChallenge</a></h4><aside class="tsd-sources"><p>Overrides <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L455">src/data/challenge.ts:455</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-inherited"><a id="challengeTypes" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>challenge<wbr/>Types</span><a href="#challengeTypes" 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">challenge<wbr/>Types</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_challenge.ChallengeType.html" class="tsd-signature-type tsd-kind-enum">ChallengeType</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#challengeTypes">challengeTypes</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L61">src/data/challenge.ts:61</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="conditions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>conditions</span><a href="#conditions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">conditions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ChallengeCondition</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#conditions">conditions</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L60">src/data/challenge.ts:60</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/data_enums_challenges.Challenges.html" class="tsd-signature-type tsd-kind-enum">Challenges</a></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L53">src/data/challenge.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="maxSeverity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>max<wbr/>Severity</span><a href="#maxSeverity" 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">max<wbr/>Severity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#maxSeverity">maxSeverity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L58">src/data/challenge.ts:58</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="maxValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>max<wbr/>Value</span><a href="#maxValue" 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">max<wbr/>Value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#maxValue">maxValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L56">src/data/challenge.ts:56</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="severity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>severity</span><a href="#severity" 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">severity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#severity">severity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L57">src/data/challenge.ts:57</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="value" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>value</span><a href="#value" 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">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#value">value</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L55">src/data/challenge.ts:55</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-is-inherited"><a id="addChallengeType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Challenge<wbr/>Type</span><a href="#addChallengeType" 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="addChallengeType.addChallengeType-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Challenge<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">challengeType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_challenge.Challenge.html" class="tsd-signature-type tsd-kind-class">Challenge</a><a href="#addChallengeType.addChallengeType-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 challenge type to this challenge.</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">challengeType</span>: <a href="../enums/data_challenge.ChallengeType.html" class="tsd-signature-type tsd-kind-enum">ChallengeType</a></span><div class="tsd-comment tsd-typography"><p>The challenge type to add.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_challenge.Challenge.html" class="tsd-signature-type tsd-kind-class">Challenge</a></h4><p>This challenge</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#addChallengeType">addChallengeType</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L127">src/data/challenge.ts:127</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="apply" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>apply</span><a href="#apply" 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="apply.apply-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">apply</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">challengeType</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">boolean</span><a href="#apply.apply-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>Modifies the data or game state in some way to apply the challenge.</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">challengeType</span>: <a href="../enums/data_challenge.ChallengeType.html" class="tsd-signature-type tsd-kind-enum">ChallengeType</a></span><div class="tsd-comment tsd-typography"><p>Which challenge type this is being applied for.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Irrelevant. See the specific challenge&#39;s apply function for additional information.</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><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#apply">apply</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L470">src/data/challenge.ts:470</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><a href="data_challenge.Challenge.html" class="tsd-signature-type tsd-kind-class">Challenge</a><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 an unlock condition to this challenge.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">condition</span>: <span class="tsd-signature-type">ChallengeCondition</span></span><div class="tsd-comment tsd-typography"><p>The condition to add.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_challenge.Challenge.html" class="tsd-signature-type tsd-kind-class">Challenge</a></h4><p>This challenge</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#condition">condition</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L107">src/data/challenge.ts:107</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="decreaseSeverity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>decrease<wbr/>Severity</span><a href="#decreaseSeverity" 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="decreaseSeverity.decreaseSeverity-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">decrease<wbr/>Severity</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="#decreaseSeverity.decreaseSeverity-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>Decrease the severity of the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the value changed</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#decreaseSeverity">decreaseSeverity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L199">src/data/challenge.ts:199</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="decreaseValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>decrease<wbr/>Value</span><a href="#decreaseValue" 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="decreaseValue.decreaseValue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">decrease<wbr/>Value</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="#decreaseValue.decreaseValue-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>Decrease the value of the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the value changed</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#decreaseValue">decreaseValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L180">src/data/challenge.ts:180</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getDescription" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Description</span><a href="#getDescription" 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="getDescription.getDescription-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Description</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">overrideValue</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getDescription.getDescription-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>Returns the description of a challenge&#39;s current value.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">overrideValue</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The value to check for. If undefined, gets the current value.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The localised description for the current value.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#getDescription">getDescription</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L157">src/data/challenge.ts:157</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getDifficulty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Difficulty</span><a href="#getDifficulty" 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="getDifficulty.getDifficulty-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Difficulty</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="#getDifficulty.getDifficulty-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 the &quot;difficulty&quot; value of this challenge.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The difficulty value.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#getDifficulty">getDifficulty</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L223">src/data/challenge.ts:223</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMinDifficulty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Difficulty</span><a href="#getMinDifficulty" 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="getMinDifficulty.getMinDifficulty-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Min<wbr/>Difficulty</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="#getMinDifficulty.getMinDifficulty-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 the minimum difficulty added by this challenge.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The difficulty value.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#getMinDifficulty">getMinDifficulty</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L231">src/data/challenge.ts:231</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Name</span><a href="#getName" 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="getName.getName-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Name</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getName.getName-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">string</span></h4><p>The localised name of this challenge.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#getName">getName</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L136">src/data/challenge.ts:136</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Value</span><a href="#getValue" 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="getValue.getValue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Value</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">overrideValue</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getValue.getValue-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><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">overrideValue</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#getValue">getValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L463">src/data/challenge.ts:463</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="geti18nKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>geti18n<wbr/>Key</span><a href="#geti18nKey" 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="geti18nKey.geti18nKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">geti18n<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#geti18nKey.geti18nKey-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 the localisation key for the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The i18n key for this challenge</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#geti18nKey">geti18nKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L89">src/data/challenge.ts:89</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hasSeverity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Severity</span><a href="#hasSeverity" 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="hasSeverity.hasSeverity-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Severity</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="#hasSeverity.hasSeverity-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>Whether to allow choosing this challenge&#39;s severity.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#hasSeverity">hasSeverity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L191">src/data/challenge.ts:191</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="increaseSeverity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>increase<wbr/>Severity</span><a href="#increaseSeverity" 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="increaseSeverity.increaseSeverity-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">increase<wbr/>Severity</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="#increaseSeverity.increaseSeverity-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>Increase the severity of the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the value changed</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#increaseSeverity">increaseSeverity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L211">src/data/challenge.ts:211</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="increaseValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>increase<wbr/>Value</span><a href="#increaseValue" 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="increaseValue.increaseValue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">increase<wbr/>Value</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="#increaseValue.increaseValue-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>Increase the value of the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the value changed</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#increaseValue">increaseValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L168">src/data/challenge.ts:168</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isOfType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Of<wbr/>Type</span><a href="#isOfType" 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="isOfType.isOfType-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Of<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">challengeType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isOfType.isOfType-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>If this challenge is of a particular type</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">challengeType</span>: <a href="../enums/data_challenge.ChallengeType.html" class="tsd-signature-type tsd-kind-enum">ChallengeType</a></span><div class="tsd-comment tsd-typography"><p>The challenge type 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>This challenge</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#isOfType">isOfType</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L118">src/data/challenge.ts:118</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isUnlocked" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Unlocked</span><a href="#isUnlocked" 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="isUnlocked.isUnlocked-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Unlocked</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isUnlocked.isUnlocked-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>Used for unlockable challenges to check if they&#39;re unlocked.</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">data</span>: <a href="system_game_data.GameData.html" class="tsd-signature-type tsd-kind-class">GameData</a></span><div class="tsd-comment tsd-typography"><p>The save data.</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>Whether this challenge is unlocked.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#isUnlocked">isUnlocked</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L98">src/data/challenge.ts:98</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="reset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" 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="reset.reset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset</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="#reset.reset-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>Reset the challenge to a base state.</p>
</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 <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#reset">reset</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L80">src/data/challenge.ts:80</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="loadChallenge" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>load<wbr/>Challenge</span><a href="#loadChallenge" 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="loadChallenge.loadChallenge-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load<wbr/>Challenge</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_challenge.LowerStarterMaxCostChallenge.html" class="tsd-signature-type tsd-kind-class">LowerStarterMaxCostChallenge</a><a href="#loadChallenge.loadChallenge-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>Clones a challenge, either from another challenge or json. Chainable.</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">source</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The source challenge of json.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_challenge.LowerStarterMaxCostChallenge.html" class="tsd-signature-type tsd-kind-class">LowerStarterMaxCostChallenge</a></h4><p>This challenge.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="data_challenge.Challenge.html">Challenge</a>.<a href="data_challenge.Challenge.html#loadChallenge">loadChallenge</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/29d9ac703836389420770d21c1c5320cf88ad7f6/src/data/challenge.ts#L487">src/data/challenge.ts:487</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#challengeTypes" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>challenge<wbr/>Types</span></a><a href="#conditions" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>conditions</span></a><a href="#id" class="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="#maxSeverity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Severity</span></a><a href="#maxValue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Value</span></a><a href="#severity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>severity</span></a><a href="#value" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a><a href="#addChallengeType" class="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/>Challenge<wbr/>Type</span></a><a href="#apply" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply</span></a><a href="#condition" class="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="#decreaseSeverity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decrease<wbr/>Severity</span></a><a href="#decreaseValue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decrease<wbr/>Value</span></a><a href="#getDescription" class="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/>Description</span></a><a href="#getDifficulty" class="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/>Difficulty</span></a><a href="#getMinDifficulty" class="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/>Min<wbr/>Difficulty</span></a><a href="#getName" class="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/>Name</span></a><a href="#getValue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Value</span></a><a href="#geti18nKey" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>geti18n<wbr/>Key</span></a><a href="#hasSeverity" class="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/>Severity</span></a><a href="#increaseSeverity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increase<wbr/>Severity</span></a><a href="#increaseValue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increase<wbr/>Value</span></a><a href="#isOfType" class="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/>Of<wbr/>Type</span></a><a href="#isUnlocked" class="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/>Unlocked</span></a><a href="#reset" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#loadChallenge" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Challenge</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>pokemon-rogue-battle</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>