mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 14:59:26 +02:00
Update src/data/mystery-encounters/utils/encounter-pokemon-utils.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
8e2fe08a85
commit
759a301fd9
@ -839,8 +839,6 @@ export function isPokemonValidForEncounterOptionSelection(pokemon: Pokemon, scen
|
|||||||
/**
|
/**
|
||||||
* Permanently overrides the ability (not passive) of a pokemon.
|
* Permanently overrides the ability (not passive) of a pokemon.
|
||||||
* If the pokemon is a fusion, instead overrides the fused pokemon's ability.
|
* If the pokemon is a fusion, instead overrides the fused pokemon's ability.
|
||||||
* @param pokemon
|
|
||||||
* @param ability
|
|
||||||
*/
|
*/
|
||||||
export function applyAbilityOverrideToPokemon(pokemon: Pokemon, ability: Abilities) {
|
export function applyAbilityOverrideToPokemon(pokemon: Pokemon, ability: Abilities) {
|
||||||
if (pokemon.isFusion()) {
|
if (pokemon.isFusion()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user