Fix formatting and remove stray character

pull/16/head
Flashfyre 2024-03-13 08:51:07 -04:00
parent 9d2d03ee44
commit b93e4397fa
2 changed files with 2 additions and 3 deletions

View File

@ -1860,8 +1860,7 @@ export function initAbilities() {
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", "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),
.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),

View File

@ -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;s
public abilityIndex: integer;
public shiny: boolean;
public pokeball: PokeballType;
protected battleInfo: BattleInfo;