mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 14:22:19 +02:00
type hints affected by enemy illusionin fight-ui-handler
This commit is contained in:
parent
149d56c31d
commit
b8ea47a24c
@ -149,7 +149,7 @@ class DefaultOverrides {
|
||||
// --------------------------
|
||||
// OPPONENT / ENEMY OVERRIDES
|
||||
// --------------------------
|
||||
readonly OPP_SPECIES_OVERRIDE: Species | number = 0;
|
||||
readonly OPP_SPECIES_OVERRIDE: Species | number = Species.ZORUA;
|
||||
/**
|
||||
* This will make all opponents fused Pokemon
|
||||
*/
|
||||
|
@ -353,7 +353,7 @@ export default class FightUiHandler extends UiHandler implements InfoToggle {
|
||||
|
||||
const moveColors = opponents
|
||||
.map(opponent =>
|
||||
opponent.getMoveEffectiveness(pokemon, pokemonMove.getMove(), !opponent.battleData.abilityRevealed),
|
||||
opponent.getMoveEffectiveness(pokemon, pokemonMove.getMove(), !opponent.battleData.abilityRevealed, undefined, undefined, true),
|
||||
)
|
||||
.sort((a, b) => b - a)
|
||||
.map(effectiveness => getTypeDamageMultiplierColor(effectiveness ?? 0, "offense"));
|
||||
|
Loading…
Reference in New Issue
Block a user