pokerogue/main/interfaces/data_mystery_encounters_uti...

26 lines
44 KiB
HTML
Raw Normal View History

2024-10-01 19:27:19 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>EnemyPokemonConfig | 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_mystery_encounters_utils_encounter_phase_utils.html">data/mystery-encounters/utils/encounter-phase-utils</a></li><li><a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html">EnemyPokemonConfig</a></li></ul><h1>Interface EnemyPokemonConfig</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">EnemyPokemonConfig</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><a class="tsd-kind-property" href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#abilityIndex">abilityIndex</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#aiType">aiType</a><span class="tsd-signature-symbol">?: </span><a href="../enums/field_pokemon.AiType.html" class="tsd-signature-type tsd-kind-enum">AiType</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#bossSegmentModifier">bossSegmentModifier</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#bossSegments">bossSegments</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#dataSource">dataSource</a><span class="tsd-signature-symbol">?: </span><a href="../classes/system_pokemon_data.default.ht
2024-09-27 21:52:07 +00:00
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#aiType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ai<wbr/>Type?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#bossSegmentModifier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>boss<wbr/>Segment<wbr/>Modifier?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#bossSegments" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>boss<wbr/>Segments?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#dataSource" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data<wbr/>Source?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#formIndex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>form<wbr/>Index?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#gender" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gender?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#isBoss" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Boss</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#ivs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ivs?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#level" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>level?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#modifierConfigs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>modifier<wbr/>Configs?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#moveSet" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>move<wbr/>Set?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#mysteryEncounterBattleEffects" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mystery<wbr/>Encounter<wbr/>Battle<wbr/>Effects?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#mysteryEncounterPokemonData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mystery<wbr/>Encounter<wbr/>Pokemon<wbr/>Data?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#nature" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nature?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#nickname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nickname?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#passive" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>passive?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#shiny" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>shiny?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#species" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>species</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#status" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#tags" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tags?</span></a>
<a href="data_mystery_encounters_utils_encounter_phase_utils.EnemyPokemonConfig.html#variant" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>variant?</span></a>
2024-10-01 19:27:19 +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-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"><a id="abilityIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>ability<wbr/>Index</span><a href="#abilityIndex" 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">ability<wbr/>Index</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/160b730921d8d58b925ae0c2c5d353d5ee3b4505/src/data/mystery-encounters/utils/encounter-phase-utils.ts#L76">src/data/mystery-encounters/utils/encounter-phase-utils.ts:76</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="aiType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>ai<wbr/>Type</span><a href="#aiType" 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">ai<wbr/>Type</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/field_pokemon.AiType.html" class="tsd-signature-type tsd-kind-enum">AiType</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/160b730921d8d58b925ae0c2c5d353d5ee3b4505/src/data/mystery-encounters/utils/encounter-phase-utils.ts#L92">src/data/mystery-encounters/utils/encounter-phase-utils.ts:92</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="bossSegmentModifier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>boss<wbr/>Segment<wbr/>Modifier</span><a href="#bossSegmentModifier" 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">boss<wbr/>Segment<wbr/>Modifier</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/160b730921d8d58b925ae0c2c5d353d5ee3b4505/src/data/mystery-encounters/utils/encounter-phase-utils.ts#L73">src/data/mystery-encounters/utils/encounter-phase-utils.ts:73</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="bossSegments" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>boss<wbr/>Segments</span><a href="#bossSegments" 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">boss<wbr/>Segments</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/160b730921d8d58b925ae0c2c5d353d5ee3b4505/src/data/mystery-encounters/utils/encounter-phase-utils.ts#L72">src/data/mystery-encounters/utils/encounter-phase-utils.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="dataSource" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>data<wbr/>Source</span><a href="#dataSource" 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"
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/160b730921d8d58b925ae0c2c5d353d5ee3b4505/src/data/mystery-encounters/utils/encounter-phase-utils.ts#L87">src/data/mystery-encounters/utils/encounter-phase-utils.ts:87</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="tags" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>tags</span><a href="#tags" 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">tags</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/enums_battler_tag_type.BattlerTagType.html" class="tsd-signature-type tsd-kind-enum">BattlerTagType</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/160b730921d8d58b925ae0c2c5d353d5ee3b4505/src/data/mystery-encounters/utils/encounter-phase-utils.ts#L90">src/data/mystery-encounters/utils/encounter-phase-utils.ts:90</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="variant" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>variant</span><a href="#variant" 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">variant</span><span class="tsd-signature-symbol">?:</span> <a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a></div><div class="tsd-comment tsd-typography"><p>Is only checked if Pokemon is shiny</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/160b730921d8d58b925ae0c2c5d353d5ee3b4505/src/data/mystery-encounters/utils/encounter-phase-utils.ts#L85">src/data/mystery-encounters/utils/encounter-phase-utils.ts:85</a></li></ul></aside></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-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="#abilityIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ability<wbr/>Index</span></a><a href="#aiType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ai<wbr/>Type</span></a><a href="#bossSegmentModifier" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>boss<wbr/>Segment<wbr/>Modifier</span></a><a href="#bossSegments" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>boss<wbr/>Segments</span></a><a href="#dataSource" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data<wbr/>Source</span></a><a href="#formIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/