{ "version": 3, "sources": ["../../../../data/mods/pokebilities/abilities.ts"], "sourcesContent": ["export const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable = {\n\tmummy: {\n\t\tinherit: true,\n\t\tonDamagingHit(damage, target, source, move) {\n\t\t\tif (target.ability === 'mummy') {\n\t\t\t\tconst sourceAbility = source.getAbility();\n\t\t\t\tif (sourceAbility.flags['cantsuppress'] || sourceAbility.id === 'mummy') {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (this.checkMoveMakesContact(move, source, target, !source.isAlly(target))) {\n\t\t\t\t\tconst oldAbility = source.setAbility('mummy', target);\n\t\t\t\t\tif (oldAbility) {\n\t\t\t\t\t\tthis.add('-activate', target, 'ability: Mummy', this.dex.abilities.get(oldAbility).name, `[of] ${source}`);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst possibleAbilities = [source.ability, ...(source.m.innates || [])]\n\t\t\t\t\t.filter(val => !this.dex.abilities.get(val).flags['cantsuppress'] && val !== 'mummy');\n\t\t\t\tif (!possibleAbilities.length) return;\n\t\t\t\tif (this.checkMoveMakesContact(move, source, target, !source.isAlly(target))) {\n\t\t\t\t\tconst abil = this.sample(possibleAbilities);\n\t\t\t\t\tif (abil === source.ability) {\n\t\t\t\t\t\tconst oldAbility = source.setAbility('mummy', target);\n\t\t\t\t\t\tif (oldAbility) {\n\t\t\t\t\t\t\tthis.add('-activate', target, 'ability: Mummy', this.dex.abilities.get(oldAbility).name, `[of] ${source}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsource.removeVolatile('ability:' + abil);\n\t\t\t\t\t\tsource.addVolatile('ability:mummy', source);\n\t\t\t\t\t\tif (abil) {\n\t\t\t\t\t\t\tthis.add('-activate', target, 'ability: Mummy', this.dex.abilities.get(abil).name, `[of] ${source}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n\tneutralizinggas: {\n\t\tinherit: true,\n\t\t// Ability suppression implemented in sim/pokemon.ts:Pokemon#ignoringAbility\n\t\tonSwitchIn(pokemon) {\n\t\t\tthis.add('-ability', pokemon, 'Neutralizing Gas');\n\t\t\tpokemon.abilityState.ending = false;\n\t\t\t// Remove setter's innates before the ability starts\n\t\t\tif (pokemon.m.innates) {\n\t\t\t\tfor (const innate of pokemon.m.innates) {\n\t\t\t\t\tif (this.dex.abilities.get(innate).flags['cantsuppress'] || innate === 'neutralizinggas') continue;\n\t\t\t\t\tpokemon.removeVolatile('ability:' + innate);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (const target of this.getAllActive()) {\n\t\t\t\tif (target.illusion) {\n\t\t\t\t\tthis.singleEvent('End', this.dex.abilities.get('Illusion'), target.abilityState, target, pokemon, 'neutralizinggas');\n\t\t\t\t}\n\t\t\t\tif (target.volatiles['slowstart']) {\n\t\t\t\t\tdelete target.volatiles['slowstart'];\n\t\t\t\t\tthis.add('-end', target, 'Slow Start', '[silent]');\n\t\t\t\t}\n\t\t\t\tif (target.m.innates) {\n\t\t\t\t\tfor (const innate of target.m.innates) {\n\t\t\t\t\t\tif (this.dex.abilities.get(innate).flags['cantsuppress']) continue;\n\t\t\t\t\t\ttarget.removeVolatile('ability:' + innate);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tonEnd(source) {\n\t\t\tthis.add('-end', source, 'ability: Neutralizing Gas');\n\n\t\t\t// FIXME this happens before the pokemon switches out, should be the opposite order.\n\t\t\t// Not an easy fix since we cant use a supported event. Would need some kind of special event that\n\t\t\t// gathers events to run after the switch and then runs them when the ability is no longer accessible.\n\t\t\t// (If you're tackling this, do note extreme weathers have the same issue)\n\n\t\t\t// Mark this pokemon's ability as ending so Pokemon#ignoringAbility skips it\n\t\t\tif (source.abilityState.ending) return;\n\t\t\tsource.abilityState.ending = true;\n\t\t\tconst sortedActive = this.getAllActive();\n\t\t\tthis.speedSort(sortedActive);\n\t\t\tfor (const pokemon of sortedActive) {\n\t\t\t\tif (pokemon !== source) {\n\t\t\t\t\t// Will be suppressed by Pokemon#ignoringAbility if needed\n\t\t\t\t\tthis.singleEvent('Start', pokemon.getAbility(), pokemon.abilityState, pokemon);\n\t\t\t\t\tif (pokemon.m.innates) {\n\t\t\t\t\t\tfor (const innate of pokemon.m.innates) {\n\t\t\t\t\t\t\t// permanent abilities\n\t\t\t\t\t\t\tif (pokemon.volatiles['ability:' + innate]) continue;\n\t\t\t\t\t\t\tpokemon.addVolatile('ability:' + innate, pokemon);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n\tpowerofalchemy: {\n\t\tinherit: true,\n\t\tonAllyFaint(ally) {\n\t\t\tconst pokemon = this.effectState.target;\n\t\t\tif (!pokemon.hp) return;\n\t\t\tconst isAbility = pokemon.ability === 'powerofalchemy';\n\t\t\tlet possibleAbilities = [ally.ability];\n\t\t\tif (ally.m.innates) possibleAbilities.push(...ally.m.innates);\n\t\t\tconst additionalBannedAbilities = [pokemon.ability, ...(pokemon.m.innates || [])];\n\t\t\tpossibleAbilities = possibleAbilities\n\t\t\t\t.filter(val => !this.dex.abilities.get(val).flags['noreceiver'] && !additionalBannedAbilities.includes(val));\n\t\t\tif (!possibleAbilities.length) return;\n\t\t\tconst ability = this.dex.abilities.get(possibleAbilities[this.random(possibleAbilities.length)]);\n\t\t\tthis.add('-ability', pokemon, ability, '[from] ability: Power of Alchemy', `[of] ${ally}`);\n\t\t\tif (isAbility) {\n\t\t\t\tpokemon.setAbility(ability);\n\t\t\t} else {\n\t\t\t\tpokemon.removeVolatile(\"ability:powerofalchemy\");\n\t\t\t\tpokemon.addVolatile(`ability:${ability}`, pokemon);\n\t\t\t}\n\t\t},\n\t},\n\treceiver: {\n\t\tinherit: true,\n\t\tonAllyFaint(ally) {\n\t\t\tconst pokemon = this.effectState.target;\n\t\t\tif (!pokemon.hp) return;\n\t\t\tconst isAbility = pokemon.ability === 'receiver';\n\t\t\tlet possibleAbilities = [ally.ability];\n\t\t\tif (ally.m.innates) possibleAbilities.push(...ally.m.innates);\n\t\t\tconst additionalBannedAbilities = [pokemon.ability, ...(pokemon.m.innates || [])];\n\t\t\tpossibleAbilities = possibleAbilities\n\t\t\t\t.filter(val => !this.dex.abilities.get(val).flags['noreceiver'] && !additionalBannedAbilities.includes(val));\n\t\t\tif (!possibleAbilities.length) return;\n\t\t\tconst ability = this.dex.abilities.get(possibleAbilities[this.random(possibleAbilities.length)]);\n\t\t\tthis.add('-ability', pokemon, ability, '[from] ability: Receiver', `[of] ${ally}`);\n\t\t\tif (isAbility) {\n\t\t\t\tpokemon.setAbility(ability);\n\t\t\t} else {\n\t\t\t\tpokemon.removeVolatile(\"ability:receiver\");\n\t\t\t\tpokemon.addVolatile(`ability:${ability}`, pokemon);\n\t\t\t}\n\t\t},\n\t},\n\ttrace: {\n\t\tinherit: true,\n\t\tonUpdate(pokemon) {\n\t\t\tif (!this.effectState.seek) return;\n\t\t\tconst isAbility = pokemon.ability === 'trace';\n\t\t\tconst possibleTargets: Pokemon[] = [];\n\t\t\tfor (const target of pokemon.side.foe.active) {\n\t\t\t\tif (target && !target.fainted) {\n\t\t\t\t\tpossibleTargets.push(target);\n\t\t\t\t}\n\t\t\t}\n\t\t\twhile (possibleTargets.length) {\n\t\t\t\tconst rand = this.random(possibleTargets.length);\n\t\t\t\tconst target = possibleTargets[rand];\n\t\t\t\tlet possibleAbilities = [target.ability];\n\t\t\t\tif (target.m.innates) possibleAbilities.push(...target.m.innates);\n\t\t\t\tconst additionalBannedAbilities = [pokemon.ability, ...(pokemon.m.innates || [])];\n\t\t\t\tpossibleAbilities = possibleAbilities\n\t\t\t\t\t.filter(val => !this.dex.abilities.get(val).flags['notrace'] && !additionalBannedAbilities.includes(val));\n\t\t\t\tif (!possibleAbilities.length) {\n\t\t\t\t\tpossibleTargets.splice(rand, 1);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tconst ability = this.dex.abilities.get(this.sample(possibleAbilities));\n\t\t\t\tthis.add('-ability', pokemon, ability, '[from] ability: Trace', `[of] ${target}`);\n\t\t\t\tif (isAbility) {\n\t\t\t\t\tpokemon.setAbility(ability);\n\t\t\t\t} else {\n\t\t\t\t\tpokemon.removeVolatile(\"ability:trace\");\n\t\t\t\t\tpokemon.addVolatile(`ability:${ability}`, pokemon);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t},\n\t},\n\twanderingspirit: {\n\t\tinherit: true,\n\t\tonDamagingHit(damage, target, source, move) {\n\t\t\tconst isAbility = target.ability === 'wanderingspirit';\n\t\t\tif (isAbility) {\n\t\t\t\tif (source.getAbility().flags['failskillswap'] || target.volatiles['dynamax']) return;\n\n\t\t\t\tif (this.checkMoveMakesContact(move, source, target)) {\n\t\t\t\t\tconst sourceAbility = source.setAbility('wanderingspirit', target);\n\t\t\t\t\tif (!sourceAbility) return;\n\t\t\t\t\tif (target.isAlly(source)) {\n\t\t\t\t\t\tthis.add('-activate', target, 'Skill Swap', '', '', `[of] ${source}`);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.add('-activate', target, 'ability: Wandering Spirit', this.dex.abilities.get(sourceAbility).name, 'Wandering Spirit', `[of] ${source}`);\n\t\t\t\t\t}\n\t\t\t\t\ttarget.setAbility(sourceAbility);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Make Wandering Spirit replace a random ability\n\t\t\t\tconst possibleAbilities = [source.ability, ...(source.m.innates || [])]\n\t\t\t\t\t.filter(val => !this.dex.abilities.get(val).flags['failskillswap']);\n\t\t\t\tif (!possibleAbilities.length || target.volatiles['dynamax']) return;\n\t\t\t\tif (move.flags['contact']) {\n\t\t\t\t\tconst sourceAbility = this.sample(possibleAbilities);\n\t\t\t\t\tif (sourceAbility === source.ability) {\n\t\t\t\t\t\tif (!source.setAbility('wanderingspirit', target)) return;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsource.removeVolatile('ability:' + sourceAbility);\n\t\t\t\t\t\tsource.addVolatile('ability:wanderingspirit', source);\n\t\t\t\t\t}\n\t\t\t\t\tif (target.isAlly(source)) {\n\t\t\t\t\t\tthis.add('-activate', target, 'Skill Swap', '', '', `[of] ${source}`);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.add('-activate', target, 'ability: Wandering Spirit', this.dex.abilities.get(sourceAbility).name, 'Wandering Spirit', `[of] ${source}`);\n\t\t\t\t\t}\n\t\t\t\t\tif (sourceAbility === source.ability) {\n\t\t\t\t\t\ttarget.setAbility(sourceAbility);\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttarget.removeVolatile('ability:wanderingspirit');\n\t\t\t\t\t\ttarget.addVolatile('ability:' + sourceAbility, target);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n};\n"], "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,YAAyE;AAAA,EACrF,OAAO;AAAA,IACN,SAAS;AAAA,IACT,cAAc,QAAQ,QAAQ,QAAQ,MAAM;AAC3C,UAAI,OAAO,YAAY,SAAS;AAC/B,cAAM,gBAAgB,OAAO,WAAW;AACxC,YAAI,cAAc,MAAM,cAAc,KAAK,cAAc,OAAO,SAAS;AACxE;AAAA,QACD;AACA,YAAI,KAAK,sBAAsB,MAAM,QAAQ,QAAQ,CAAC,OAAO,OAAO,MAAM,CAAC,GAAG;AAC7E,gBAAM,aAAa,OAAO,WAAW,SAAS,MAAM;AACpD,cAAI,YAAY;AACf,iBAAK,IAAI,aAAa,QAAQ,kBAAkB,KAAK,IAAI,UAAU,IAAI,UAAU,EAAE,MAAM,QAAQ,QAAQ;AAAA,UAC1G;AAAA,QACD;AAAA,MACD,OAAO;AACN,cAAM,oBAAoB,CAAC,OAAO,SAAS,GAAI,OAAO,EAAE,WAAW,CAAC,CAAE,EACpE,OAAO,SAAO,CAAC,KAAK,IAAI,UAAU,IAAI,GAAG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