mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-15 12:52:20 +02:00
removed incorrect files
This commit is contained in:
parent
bb1d76c736
commit
5dbe301fc5
@ -73,11 +73,8 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
|
|||||||
[ 1, Moves.SCRATCH ],
|
[ 1, Moves.SCRATCH ],
|
||||||
[ 1, Moves.GROWL ],
|
[ 1, Moves.GROWL ],
|
||||||
[ 4, Moves.EMBER ],
|
[ 4, Moves.EMBER ],
|
||||||
[ 6, Moves.POWER_SPLIT ],
|
[ 8, Moves.SMOKESCREEN ],
|
||||||
[ 7, Moves.GUARD_SPLIT ],
|
|
||||||
[ 12, Moves.DRAGON_BREATH ],
|
[ 12, Moves.DRAGON_BREATH ],
|
||||||
[ 15, Moves.TRIPLE_KICK],
|
|
||||||
[ 16, Moves.TRIPLE_AXEL],
|
|
||||||
[ 17, Moves.FIRE_FANG ],
|
[ 17, Moves.FIRE_FANG ],
|
||||||
[ 20, Moves.SLASH ],
|
[ 20, Moves.SLASH ],
|
||||||
[ 24, Moves.FLAMETHROWER ],
|
[ 24, Moves.FLAMETHROWER ],
|
||||||
@ -92,7 +89,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
|
|||||||
[ 1, Moves.EMBER ],
|
[ 1, Moves.EMBER ],
|
||||||
[ 1, Moves.SMOKESCREEN ],
|
[ 1, Moves.SMOKESCREEN ],
|
||||||
[ 12, Moves.DRAGON_BREATH ],
|
[ 12, Moves.DRAGON_BREATH ],
|
||||||
[ 17, Moves.LIFE_DEW],
|
|
||||||
[ 19, Moves.FIRE_FANG ],
|
[ 19, Moves.FIRE_FANG ],
|
||||||
[ 24, Moves.SLASH ],
|
[ 24, Moves.SLASH ],
|
||||||
[ 30, Moves.FLAMETHROWER ],
|
[ 30, Moves.FLAMETHROWER ],
|
||||||
@ -15491,7 +15487,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
|
|||||||
[ 1, Moves.BABY_DOLL_EYES ],
|
[ 1, Moves.BABY_DOLL_EYES ],
|
||||||
[ 5, Moves.ECHOED_VOICE ],
|
[ 5, Moves.ECHOED_VOICE ],
|
||||||
[ 8, Moves.HELPING_HAND ],
|
[ 8, Moves.HELPING_HAND ],
|
||||||
[ 10, Moves.PROTECT],
|
|
||||||
[ 11, Moves.SUPER_FANG ],
|
[ 11, Moves.SUPER_FANG ],
|
||||||
[ 14, Moves.DOUBLE_HIT ],
|
[ 14, Moves.DOUBLE_HIT ],
|
||||||
[ 18, Moves.BULLET_SEED ],
|
[ 18, Moves.BULLET_SEED ],
|
||||||
|
@ -53,13 +53,6 @@ export class Terrain {
|
|||||||
isMoveTerrainCancelled(user: Pokemon, targets: BattlerIndex[], move: Move): boolean {
|
isMoveTerrainCancelled(user: Pokemon, targets: BattlerIndex[], move: Move): boolean {
|
||||||
switch (this.terrainType) {
|
switch (this.terrainType) {
|
||||||
case TerrainType.PSYCHIC:
|
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) {
|
if (!move.getAttrs(ProtectAttr).length) {
|
||||||
const priority = new Utils.IntegerHolder(move.priority);
|
const priority = new Utils.IntegerHolder(move.priority);
|
||||||
applyAbAttrs(IncrementMovePriorityAbAttr, user, null, move, priority);
|
applyAbAttrs(IncrementMovePriorityAbAttr, user, null, move, priority);
|
||||||
|
@ -973,7 +973,7 @@ interface ModifierPool {
|
|||||||
const modifierPool: ModifierPool = {
|
const modifierPool: ModifierPool = {
|
||||||
[ModifierTier.COMMON]: [
|
[ModifierTier.COMMON]: [
|
||||||
new WeightedModifierType(modifierTypes.POKEBALL, 6),
|
new WeightedModifierType(modifierTypes.POKEBALL, 6),
|
||||||
new WeightedModifierType(modifierTypes.RARE_CANDY, 9999),
|
new WeightedModifierType(modifierTypes.RARE_CANDY, 2),
|
||||||
new WeightedModifierType(modifierTypes.POTION, (party: Pokemon[]) => {
|
new WeightedModifierType(modifierTypes.POTION, (party: Pokemon[]) => {
|
||||||
const thresholdPartyMemberCount = Math.min(party.filter(p => p.getInverseHp() >= 10 || p.getHpRatio() <= 0.875).length, 3);
|
const thresholdPartyMemberCount = Math.min(party.filter(p => p.getInverseHp() >= 10 || p.getHpRatio() <= 0.875).length, 3);
|
||||||
return thresholdPartyMemberCount * 3;
|
return thresholdPartyMemberCount * 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user