diff --git a/src/data/ability.ts b/src/data/ability.ts index fff833e68..9f998b464 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -1859,7 +1859,9 @@ export function initAbilities() { new Ability(Abilities.FOREWARN, "Forewarn (N)", "When it enters a battle, the Pokémon can tell one of the moves an opposing Pokémon has.", 4), new Ability(Abilities.UNAWARE, "Unaware", "When attacking, the Pokémon ignores the target Pokémon's stat changes.", 4) .attr(IgnoreOpponentStatChangesAbAttr), - new Ability(Abilities.TINTED_LENS, "Tinted Lens (N)", "The Pokémon can use \"not very effective\" moves to deal regular damage.", 4), + new Ability(Abilities.TINTED_LENS, "Tinted Lens", "The Pokémon can use \"not very effective\" moves to deal regular damage.", 4) + // Please check if I did this right - Xiapher. + .attr(MovePowerBoostAbAttr, (user, target, move) => target.getAttackTypeEffectiveness(move.type) <= 0.5, 2), new Ability(Abilities.FILTER, "Filter (N)", "Reduces the power of supereffective attacks taken.", 4), new Ability(Abilities.SLOW_START, "Slow Start", "For five turns, the Pokémon's Attack and Speed stats are halved.", 4) .attr(PostSummonAddBattlerTagAbAttr, BattlerTagType.SLOW_START, 5), diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 1188a6d38..74eed090b 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -58,7 +58,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { public name: string; public species: PokemonSpecies; public formIndex: integer; - public abilityIndex: integer; + public abilityIndex: integer;s public shiny: boolean; public pokeball: PokeballType; protected battleInfo: BattleInfo;