removed incorrect files

This commit is contained in:
Frederico Santos 2024-05-12 07:22:53 +01:00
parent bb1d76c736
commit 5dbe301fc5
3 changed files with 2 additions and 14 deletions

View File

@ -73,11 +73,8 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[ 1, Moves.SCRATCH ],
[ 1, Moves.GROWL ],
[ 4, Moves.EMBER ],
[ 6, Moves.POWER_SPLIT ],
[ 7, Moves.GUARD_SPLIT ],
[ 8, Moves.SMOKESCREEN ],
[ 12, Moves.DRAGON_BREATH ],
[ 15, Moves.TRIPLE_KICK],
[ 16, Moves.TRIPLE_AXEL],
[ 17, Moves.FIRE_FANG ],
[ 20, Moves.SLASH ],
[ 24, Moves.FLAMETHROWER ],
@ -92,7 +89,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[ 1, Moves.EMBER ],
[ 1, Moves.SMOKESCREEN ],
[ 12, Moves.DRAGON_BREATH ],
[ 17, Moves.LIFE_DEW],
[ 19, Moves.FIRE_FANG ],
[ 24, Moves.SLASH ],
[ 30, Moves.FLAMETHROWER ],
@ -15491,7 +15487,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[ 1, Moves.BABY_DOLL_EYES ],
[ 5, Moves.ECHOED_VOICE ],
[ 8, Moves.HELPING_HAND ],
[ 10, Moves.PROTECT],
[ 11, Moves.SUPER_FANG ],
[ 14, Moves.DOUBLE_HIT ],
[ 18, Moves.BULLET_SEED ],

View File

@ -53,13 +53,6 @@ export class Terrain {
isMoveTerrainCancelled(user: Pokemon, targets: BattlerIndex[], move: Move): boolean {
switch (this.terrainType) {
case TerrainType.PSYCHIC:
var enemies = user.getOpponents().filter(o => targets.includes(o.getBattlerIndex()));
if (enemies.length > 0 &&
enemies.some(e => e.species.isOfType(Type.FLYING))||
enemies.some(e => e.species.getAbility(0) === Abilities.LEVITATE || e.species.getAbility(1) === Abilities.LEVITATE || e.species.getAbility(2) === Abilities.LEVITATE))
{
return false;
}
if (!move.getAttrs(ProtectAttr).length) {
const priority = new Utils.IntegerHolder(move.priority);
applyAbAttrs(IncrementMovePriorityAbAttr, user, null, move, priority);

View File

@ -973,7 +973,7 @@ interface ModifierPool {
const modifierPool: ModifierPool = {
[ModifierTier.COMMON]: [
new WeightedModifierType(modifierTypes.POKEBALL, 6),
new WeightedModifierType(modifierTypes.RARE_CANDY, 9999),
new WeightedModifierType(modifierTypes.RARE_CANDY, 2),
new WeightedModifierType(modifierTypes.POTION, (party: Pokemon[]) => {
const thresholdPartyMemberCount = Math.min(party.filter(p => p.getInverseHp() >= 10 || p.getHpRatio() <= 0.875).length, 3);
return thresholdPartyMemberCount * 3;