Compare commits

..

No commits in common. "45415a87bb43b5782120e09c8d66b4470586a980" and "e66d7026d5daa3ad3433ef16e2233cd4fc519eb3" have entirely different histories.

13 changed files with 45 additions and 71 deletions

View File

@ -2273,17 +2273,16 @@ export class PostTurnLootAbAttr extends PostTurnAbAttr {
}
const randomIdx = Utils.randSeedInt(berriesEaten.length);
const chosenBerryType = berriesEaten[randomIdx]
const chosenBerry = new BerryModifierType(chosenBerryType);
const chosenBerry = new BerryModifierType(berriesEaten[randomIdx]);
berriesEaten.splice(randomIdx) // Remove berry from memory
const berryModifier = pokemon.scene.findModifier(
(m) => m instanceof BerryModifier && m.berryType === chosenBerryType,
(m) => m instanceof BerryModifier && m.berryType === berriesEaten[randomIdx],
pokemon.isPlayer()
) as BerryModifier | undefined;
if (!berryModifier) {
pokemon.scene.addModifier(new BerryModifier(chosenBerry, pokemon.id, chosenBerryType, 1));
pokemon.scene.addModifier(new BerryModifier(chosenBerry, pokemon.id, berriesEaten[randomIdx], 1));
} else {
berryModifier.stackCount++;
}

View File

@ -13,12 +13,12 @@ export const speciesEggMoves = {
[Species.PIDGEY]: [ Moves.HEAT_WAVE, Moves.FOCUS_BLAST, Moves.U_TURN, Moves.WILDBOLT_STORM ],
[Species.RATTATA]: [ Moves.HYPER_FANG, Moves.PSYCHIC_FANGS, Moves.FIRE_FANG, Moves.EXTREME_SPEED ],
[Species.SPEAROW]: [ Moves.FLOATY_FALL, Moves.EXTREME_SPEED, Moves.TIDY_UP, Moves.TRIPLE_ARROWS ],
[Species.EKANS]: [ Moves.NOXIOUS_TORQUE, Moves.DRAGON_DANCE, Moves.SLACK_OFF, Moves.SHED_TAIL ],
[Species.EKANS]: [ Moves.SHED_TAIL, Moves.DRAGON_DANCE, Moves.SLACK_OFF, Moves.NOXIOUS_TORQUE ],
[Species.SANDSHREW]: [ Moves.DIRE_CLAW, Moves.CEASELESS_EDGE, Moves.SHORE_UP, Moves.PRECIPICE_BLADES ],
[Species.NIDORAN_F]: [ Moves.NO_RETREAT, Moves.BANEFUL_BUNKER, Moves.SANDSEAR_STORM, Moves.MALIGNANT_CHAIN ],
[Species.NIDORAN_F]: [ Moves.SANDSEAR_STORM, Moves.BANEFUL_BUNKER, Moves.NO_RETREAT, Moves.MALIGNANT_CHAIN ],
[Species.NIDORAN_M]: [ Moves.NOXIOUS_TORQUE, Moves.KINGS_SHIELD, Moves.NO_RETREAT, Moves.PRECIPICE_BLADES ],
[Species.VULPIX]: [ Moves.MOONBLAST, Moves.ICE_BEAM, Moves.MORNING_SUN, Moves.TAIL_GLOW ],
[Species.ZUBAT]: [ Moves.FLOATY_FALL, Moves.DIRE_CLAW, Moves.SWORDS_DANCE, Moves.WICKED_BLOW ],
[Species.ZUBAT]: [ Moves.FLOATY_FALL, Moves.DIRE_CLAW, Moves.PARTING_SHOT, Moves.WICKED_BLOW ],
[Species.ODDISH]: [ Moves.SLUDGE_BOMB, Moves.FIERY_DANCE, Moves.STRENGTH_SAP, Moves.SPORE ],
[Species.PARAS]: [ Moves.FIRST_IMPRESSION, Moves.SAPPY_SEED, Moves.CRABHAMMER, Moves.DIRE_CLAW ],
[Species.VENONAT]: [ Moves.SLUDGE_BOMB, Moves.MOONLIGHT, Moves.EARTH_POWER, Moves.MYSTICAL_POWER ],
@ -79,7 +79,7 @@ export const speciesEggMoves = {
[Species.SENTRET]: [ Moves.TIDY_UP, Moves.THIEF, Moves.NUZZLE, Moves.EXTREME_SPEED ],
[Species.HOOTHOOT]: [ Moves.CALM_MIND, Moves.ESPER_WING, Moves.BOOMBURST, Moves.OBLIVION_WING ],
[Species.LEDYBA]: [ Moves.POLLEN_PUFF, Moves.THIEF, Moves.PARTING_SHOT, Moves.SPORE ],
[Species.SPINARAK]: [ Moves.PARTING_SHOT, Moves.ATTACK_ORDER, Moves.GASTRO_ACID, Moves.STRENGTH_SAP ],
[Species.SPINARAK]: [ Moves.GASTRO_ACID, Moves.ATTACK_ORDER, Moves.SUPER_FANG, Moves.STRENGTH_SAP ],
[Species.CHINCHOU]: [ Moves.THUNDERCLAP, Moves.BOUNCY_BUBBLE, Moves.VOLT_SWITCH, Moves.TAIL_GLOW ],
[Species.PICHU]: [ Moves.THUNDERCLAP, Moves.SPLISHY_SPLASH, Moves.FLOATY_FALL, Moves.THUNDER_CAGE ],
[Species.CLEFFA]: [ Moves.TAKE_HEART, Moves.POWER_GEM, Moves.WISH, Moves.LIGHT_OF_RUIN ],
@ -395,7 +395,7 @@ export const speciesEggMoves = {
[Species.PASSIMIAN]: [ Moves.FAKE_OUT, Moves.SUCKER_PUNCH, Moves.SWORDS_DANCE, Moves.PYRO_BALL ],
[Species.WIMPOD]: [ Moves.ICE_SPINNER, Moves.OBSTRUCT, Moves.KNOCK_OFF, Moves.SURGING_STRIKES ],
[Species.SANDYGAST]: [ Moves.SCORCHING_SANDS, Moves.SPLISHY_SPLASH, Moves.CURSE, Moves.SALT_CURE ],
[Species.PYUKUMUKU]: [ Moves.COMEUPPANCE, Moves.BANEFUL_BUNKER, Moves.TOXIC_SPIKES, Moves.SALT_CURE ],
[Species.PYUKUMUKU]: [ Moves.MIRROR_COAT, Moves.BANEFUL_BUNKER, Moves.TOXIC_SPIKES, Moves.SALT_CURE ],
[Species.TYPE_NULL]: [ Moves.DIRE_CLAW, Moves.RECOVER, Moves.EXTREME_SPEED, Moves.NO_RETREAT ],
[Species.MINIOR]: [ Moves.EARTH_POWER, Moves.FLOATY_FALL, Moves.ZING_ZAP, Moves.DIAMOND_STORM ],
[Species.KOMALA]: [ Moves.SLACK_OFF, Moves.EXTREME_SPEED, Moves.KNOCK_OFF, Moves.CLOSE_COMBAT ],
@ -410,7 +410,7 @@ export const speciesEggMoves = {
[Species.TAPU_LELE]: [ Moves.MOONLIGHT, Moves.NASTY_PLOT, Moves.HEAT_WAVE, Moves.EXPANDING_FORCE ],
[Species.TAPU_BULU]: [ Moves.GRASSY_GLIDE, Moves.CLOSE_COMBAT, Moves.PLAY_ROUGH, Moves.VICTORY_DANCE ],
[Species.TAPU_FINI]: [ Moves.AURA_SPHERE, Moves.EARTH_POWER, Moves.RECOVER, Moves.QUIVER_DANCE ],
[Species.COSMOG]: [ Moves.VICTORY_DANCE, Moves.QUIVER_DANCE, Moves.SACRED_FIRE, Moves.PHOTON_GEYSER ],
[Species.COSMOG]: [ Moves.VICTORY_DANCE, Moves.QUIVER_DANCE, Moves.STORED_POWER, Moves.PHOTON_GEYSER ],
[Species.NIHILEGO]: [ Moves.RECOVER, Moves.QUIVER_DANCE, Moves.ENERGY_BALL, Moves.MALIGNANT_CHAIN ],
[Species.BUZZWOLE]: [ Moves.LEECH_LIFE, Moves.BULLET_PUNCH, Moves.DARKEST_LARIAT, Moves.COLLISION_COURSE ],
[Species.PHEROMOSA]: [ Moves.AURA_SPHERE, Moves.MAKE_IT_RAIN, Moves.ATTACK_ORDER, Moves.COLLISION_COURSE ],
@ -484,7 +484,7 @@ export const speciesEggMoves = {
[Species.FIDOUGH]: [ Moves.WISH, Moves.BODY_PRESS, Moves.SIZZLY_SLIDE, Moves.TIDY_UP ],
[Species.SMOLIV]: [ Moves.STRENGTH_SAP, Moves.EARTH_POWER, Moves.CALM_MIND, Moves.BOOMBURST ],
[Species.SQUAWKABILLY]: [ Moves.PARTING_SHOT, Moves.EARTHQUAKE, Moves.FLARE_BLITZ, Moves.EXTREME_SPEED ],
[Species.NACLI]: [ Moves.BODY_PRESS, Moves.TOXIC, Moves.CURSE, Moves.DIAMOND_STORM ],
[Species.NACLI]: [ Moves.BODY_PRESS, Moves.WHIRLWIND, Moves.CURSE, Moves.DIAMOND_STORM ],
[Species.CHARCADET]: [ Moves.SACRED_SWORD, Moves.PHOTON_GEYSER, Moves.MOONBLAST, Moves.SPECTRAL_THIEF ],
[Species.TADBULB]: [ Moves.PARABOLIC_CHARGE, Moves.SCALD, Moves.EARTH_POWER, Moves.ELECTRO_SHOT ],
[Species.WATTREL]: [ Moves.NASTY_PLOT, Moves.TAILWIND, Moves.HEAT_WAVE, Moves.AEROBLAST ],
@ -495,7 +495,7 @@ export const speciesEggMoves = {
[Species.KLAWF]: [ Moves.CRABHAMMER, Moves.SHORE_UP, Moves.MIGHTY_CLEAVE, Moves.SHELL_SMASH ],
[Species.CAPSAKID]: [ Moves.STRENGTH_SAP, Moves.APPLE_ACID, Moves.FROST_BREATH, Moves.TORCH_SONG ],
[Species.RELLOR]: [ Moves.TOXIC_SPIKES, Moves.RECOVER, Moves.HEAT_WAVE, Moves.LUMINA_CRASH ],
[Species.FLITTLE]: [ Moves.COSMIC_POWER, Moves.AURA_SPHERE, Moves.ROOST, Moves.FIERY_DANCE ],
[Species.FLITTLE]: [ Moves.COSMIC_POWER, Moves.MOONBLAST, Moves.ROOST, Moves.FIERY_DANCE ],
[Species.TINKATINK]: [ Moves.MAGICAL_TORQUE, Moves.SHIFT_GEAR, Moves.ICE_HAMMER, Moves.PYRO_BALL ],
[Species.WIGLETT]: [ Moves.SHELL_SMASH, Moves.ICICLE_CRASH, Moves.SEED_BOMB, Moves.SURGING_STRIKES ],
[Species.BOMBIRDIER]: [ Moves.U_TURN, Moves.TIDY_UP, Moves.SUCKER_PUNCH, Moves.MIGHTY_CLEAVE ],

View File

@ -7260,7 +7260,7 @@ export function initMoves() {
End Unused */
new AttackMove(Moves.TERA_BLAST, Type.NORMAL, MoveCategory.SPECIAL, 80, 100, 10, -1, 0, 9)
.attr(TeraBlastCategoryAttr)
.unimplemented(),
.partial(),
new SelfStatusMove(Moves.SILK_TRAP, Type.BUG, -1, 10, -1, 4, 9)
.attr(ProtectAttr, BattlerTagType.SILK_TRAP),
new AttackMove(Moves.AXE_KICK, Type.FIGHTING, MoveCategory.PHYSICAL, 120, 90, 10, 30, 0, 9)

View File

@ -1055,13 +1055,13 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
],
[Species.ABRA]: [
[ 1, Moves.TELEPORT ],
[ 1, Moves.CONFUSION ], //Custom
],
[Species.KADABRA]: [
[ 0, Moves.PSYBEAM ], //Custom
[ 0, Moves.CONFUSION ],
[ 1, Moves.DISABLE ],
[ 1, Moves.TELEPORT ],
[ 1, Moves.KINESIS ],
[ 5, Moves.PSYBEAM ],
[ 10, Moves.REFLECT ],
[ 15, Moves.ALLY_SWITCH ],
[ 20, Moves.PSYCHO_CUT ],
@ -1542,7 +1542,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.GASTLY]: [
[ 1, Moves.CONFUSE_RAY ],
[ 1, Moves.LICK ],
[ 1, Moves.ACID ], //Custom
[ 4, Moves.HYPNOSIS ],
[ 8, Moves.MEAN_LOOK ],
[ 12, Moves.PAYBACK ],
@ -1842,7 +1841,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.LICKITUNG]: [
[ 1, Moves.DEFENSE_CURL ],
[ 1, Moves.LICK ],
[ 1, Moves.TACKLE ], //Custom
[ 6, Moves.REST ],
[ 12, Moves.SUPERSONIC ],
[ 18, Moves.WRAP ],
@ -3551,7 +3549,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.DUNSPARCE]: [
[ 1, Moves.DEFENSE_CURL ],
[ 1, Moves.FLAIL ],
[ 1, Moves.TACKLE ], //Custom
[ 4, Moves.MUD_SLAP ],
[ 8, Moves.ROLLOUT ],
[ 12, Moves.GLARE ],
@ -3772,7 +3769,7 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.SLUGMA]: [
[ 1, Moves.SMOG ],
[ 1, Moves.YAWN ],
[ 5, Moves.EMBER ], //Custom, Moved from Level 6 to 5
[ 6, Moves.EMBER ],
[ 8, Moves.ROCK_THROW ],
[ 13, Moves.HARDEN ],
[ 20, Moves.CLEAR_SMOG ],
@ -5546,7 +5543,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
],
[Species.WAILMER]: [
[ 1, Moves.SPLASH ],
[ 1, Moves.TACKLE ], //Custom
[ 3, Moves.GROWL ],
[ 6, Moves.ASTONISH ],
[ 12, Moves.WATER_GUN ],
@ -5639,7 +5635,7 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
],
[Species.SPOINK]: [
[ 1, Moves.SPLASH ],
[ 5, Moves.CONFUSION ], //Custom, Moved from Level 7 to 5
[ 7, Moves.CONFUSION ],
[ 10, Moves.GROWL ],
[ 14, Moves.PSYBEAM ],
[ 18, Moves.PSYCH_UP ],
@ -6148,7 +6144,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
],
[Species.SHUPPET]: [
[ 1, Moves.ASTONISH ],
[ 1, Moves.PURSUIT ], //Custom
[ 4, Moves.SCREECH ],
[ 7, Moves.NIGHT_SHADE ],
[ 10, Moves.SPITE ],
@ -6180,7 +6175,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.DUSKULL]: [
[ 1, Moves.ASTONISH ],
[ 1, Moves.LEER ],
[ 1, Moves.PURSUIT ], //Custom
[ 4, Moves.DISABLE ],
[ 8, Moves.SHADOW_SNEAK ],
[ 12, Moves.CONFUSE_RAY ],
@ -7088,7 +7082,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
],
[Species.BURMY]: [
[ 1, Moves.PROTECT ],
[ 1, Moves.STRUGGLE_BUG ], //Custom
[ 10, Moves.TACKLE ],
[ 15, Moves.BUG_BITE ],
[ 20, Moves.STRING_SHOT ],
@ -7424,7 +7417,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
],
[Species.CHINGLING]: [
[ 1, Moves.WRAP ],
[ 1, Moves.PSYWAVE ], //Custom
[ 4, Moves.GROWL ],
[ 7, Moves.ASTONISH ],
[ 10, Moves.CONFUSION ],
@ -7508,7 +7500,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.BONSLY]: [
[ 1, Moves.FAKE_TEARS ],
[ 1, Moves.COPYCAT ],
[ 1, Moves.TACKLE ], //Custom
[ 4, Moves.FLAIL ],
[ 8, Moves.ROCK_THROW ],
[ 12, Moves.BLOCK ],
@ -7810,7 +7801,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.CARNIVINE]: [
[ 1, Moves.BIND ],
[ 1, Moves.GROWTH ],
[ 1, Moves.LEAFAGE ], //Custom
[ 7, Moves.BITE ],
[ 11, Moves.VINE_WHIP ],
[ 17, Moves.SWEET_SCENT ],
@ -8416,7 +8406,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.GIRATINA]: [
[ 1, Moves.SHADOW_SNEAK ],
[ 1, Moves.DEFOG ],
[ 1, Moves.TWISTER ], //Custom
[ 7, Moves.DRAGON_BREATH ],
[ 14, Moves.ANCIENT_POWER ],
[ 21, Moves.HEX ],
@ -8478,7 +8467,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.DARKRAI]: [
[ 1, Moves.DISABLE ],
[ 1, Moves.OMINOUS_WIND ],
[ 1, Moves.PURSUIT ], //Custom
[ 11, Moves.QUICK_ATTACK ],
[ 20, Moves.HYPNOSIS ],
[ 29, Moves.SUCKER_PUNCH ],
@ -9232,11 +9220,10 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[ 70, Moves.HYDRO_PUMP ],
],
[Species.THROH]: [
[ 1, Moves.KARATE_CHOP ], //Custom
[ 1, Moves.BIND ],
[ 1, Moves.LEER ],
[ 1, Moves.BIDE ],
[ 1, Moves.MAT_BLOCK ],
[ 1, Moves.BIND ],
[ 5, Moves.FOCUS_ENERGY ],
[ 10, Moves.CIRCLE_THROW ],
[ 15, Moves.WIDE_GUARD ],
@ -10017,7 +10004,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.VANILLITE]: [
[ 1, Moves.HARDEN ],
[ 1, Moves.ASTONISH ],
[ 1, Moves.POWDER_SNOW ], //Custom
[ 4, Moves.TAUNT ],
[ 8, Moves.MIST ],
[ 12, Moves.ICY_WIND ],
@ -12220,7 +12206,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.PUMPKABOO]: [
[ 1, Moves.ASTONISH ],
[ 1, Moves.TRICK_OR_TREAT ],
[ 1, Moves.LEAFAGE ], //Custom
[ 4, Moves.SHADOW_SNEAK ],
[ 8, Moves.CONFUSE_RAY ],
[ 12, Moves.RAZOR_LEAF ],
@ -13089,7 +13074,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
],
[Species.BOUNSWEET]: [
[ 1, Moves.SPLASH ],
[ 1, Moves.LEAFAGE ], //Custom
[ 4, Moves.PLAY_NICE ],
[ 8, Moves.RAPID_SPIN ],
[ 12, Moves.RAZOR_LEAF ],
@ -13238,7 +13222,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[ 68, Moves.SANDSTORM ],
],
[Species.PYUKUMUKU]: [
[ 1, Moves.COUNTER ], //Custom, Moved from Level 20 to 1
[ 1, Moves.HARDEN ],
[ 1, Moves.BATON_PASS ],
[ 1, Moves.BIDE ],
@ -13247,7 +13230,7 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[ 5, Moves.HELPING_HAND ],
[ 10, Moves.TAUNT ],
[ 15, Moves.SAFEGUARD ],
[ 20, Moves.MIRROR_COAT ], //Custom
[ 20, Moves.COUNTER ],
[ 25, Moves.PURIFY ],
[ 30, Moves.CURSE ],
[ 35, Moves.GASTRO_ACID ],
@ -13563,7 +13546,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.COSMOG]: [
[ 1, Moves.TELEPORT ],
[ 1, Moves.SPLASH ],
[ 1, Moves.STORED_POWER ], //Custom
],
[Species.COSMOEM]: [
[ 0, Moves.COSMIC_POWER ],
@ -13760,7 +13742,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.MAGEARNA]: [
[ 1, Moves.HELPING_HAND ],
[ 1, Moves.GYRO_BALL ],
[ 1, Moves.FAIRY_WIND ], //Custom
[ 6, Moves.DEFENSE_CURL ],
[ 12, Moves.ROLLOUT ],
[ 18, Moves.IRON_DEFENSE ],
@ -14329,7 +14310,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.APPLIN]: [
[ 1, Moves.WITHDRAW ],
[ 1, Moves.ASTONISH ],
[ 1, Moves.LEAFAGE ], //Custom
],
[Species.FLAPPLE]: [
[ 0, Moves.WING_ATTACK ],
@ -14372,7 +14352,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.SILICOBRA]: [
[ 1, Moves.SAND_ATTACK ],
[ 1, Moves.WRAP ],
[ 1, Moves.MUD_SLAP ], //Custom
[ 5, Moves.MINIMIZE ],
[ 10, Moves.BRUTAL_SWING ],
[ 15, Moves.BULLDOZE ],
@ -14533,7 +14512,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[Species.SINISTEA]: [
[ 1, Moves.WITHDRAW ],
[ 1, Moves.ASTONISH ],
[ 1, Moves.ABSORB ], //Custom
[ 6, Moves.AROMATIC_MIST ],
[ 12, Moves.MEGA_DRAIN ],
[ 24, Moves.SUCKER_PUNCH ],
@ -16854,7 +16832,6 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
],
[Species.IRON_BUNDLE]: [
[ 1, Moves.PRESENT ],
[ 1, Moves.WATER_GUN ], //Custom
[ 7, Moves.POWDER_SNOW ],
[ 14, Moves.WHIRLPOOL ],
[ 21, Moves.TAKE_DOWN ],
@ -17226,7 +17203,7 @@ export const pokemonSpeciesLevelMoves: PokemonSpeciesLevelMoves = {
[ 1, Moves.STUN_SPORE ],
[ 1, Moves.WITHDRAW ],
[ 1, Moves.ASTONISH ],
[ 5, Moves.ABSORB ], //Custom, Moved from Level 6 to 5
[ 6, Moves.ABSORB ],
[ 12, Moves.LIFE_DEW ],
[ 18, Moves.FOUL_PLAY ],
[ 24, Moves.MEGA_DRAIN ],

View File

@ -198,7 +198,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
"HEALING_CHARM": { name: "Heilungspin", description: "Erhöht die Effektivität von Heilungsattacken sowie Heilitems um 10% (Beleber ausgenommen)" },
"CANDY_JAR": { name: "Bonbonglas", description: "Erhöht die Anzahl der Level die ein Sonderbonbon erhöht um 1" },
"BERRY_POUCH": { name: "Beerentüte", description: "Fügt eine 33% Chance hinzu, dass Beeren nicht verbraucht werden" },
"BERRY_POUCH": { name: "Beerentüte", description: "Fügt eine 25% Chance hinzu, dass Beeren nicht verbraucht werden" },
"FOCUS_BAND": { name: "Fokusband", description: "Fügt eine 10% Chance hinzu, dass Angriffe die zur Kampfunfähigkeit führen mit 1 KP überlebt werden" },

View File

@ -185,7 +185,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
"RELIC_GOLD": { name: "Relic Gold" },
"AMULET_COIN": { name: "Amulet Coin", description: "Increases money rewards by 20%" },
"GOLDEN_PUNCH": { name: "Golden Punch", description: "Grants 50% of direct damage inflicted as money" },
"GOLDEN_PUNCH": { name: "Golden Punch", description: "Grants 50% of damage inflicted as money" },
"COIN_CASE": { name: "Coin Case", description: "After every 10th battle, receive 10% of your money in interest" },
"LOCK_CAPSULE": { name: "Lock Capsule", description: "Allows you to lock item rarities when rerolling items" },
@ -198,7 +198,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
"HEALING_CHARM": { name: "Healing Charm", description: "Increases the effectiveness of HP restoring moves and items by 10% (excludes Revives)" },
"CANDY_JAR": { name: "Candy Jar", description: "Increases the number of levels added by Rare Candy items by 1" },
"BERRY_POUCH": { name: "Berry Pouch", description: "Adds a 33% chance that a used berry will not be consumed" },
"BERRY_POUCH": { name: "Berry Pouch", description: "Adds a 25% chance that a used berry will not be consumed" },
"FOCUS_BAND": { name: "Focus Band", description: "Adds a 10% chance to survive with 1 HP after being damaged enough to faint" },

View File

@ -198,7 +198,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
"HEALING_CHARM": { name: "Healing Charm", description: "Increases the effectiveness of HP restoring moves and items by 10% (excludes Revives)" },
"CANDY_JAR": { name: "Candy Jar", description: "Increases the number of levels added by Rare Candy items by 1" },
"BERRY_POUCH": { name: "Berry Pouch", description: "Adds a 33% chance that a used berry will not be consumed" },
"BERRY_POUCH": { name: "Berry Pouch", description: "Adds a 25% chance that a used berry will not be consumed" },
"FOCUS_BAND": { name: "Focus Band", description: "Adds a 10% chance to survive with 1 HP after being damaged enough to faint" },

View File

@ -198,7 +198,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
"HEALING_CHARM": { name: "Charme Soin", description: "Augmente de 10% lefficacité des capacités et objets de soin de PV (hors Rappels)" },
"CANDY_JAR": { name: "Jarre de Bonbons", description: "Augmente de 1 le nombre de niveaux gagnés à lutilisation dun Super Bonbon" },
"BERRY_POUCH": { name: "Sac à Baies", description: "Ajoute 33% de chances quune Baie utilisée ne soit pas consommée" },
"BERRY_POUCH": { name: "Sac à Baies", description: "Ajoute 25% de chances quune Baie utilisée ne soit pas consommée" },
"FOCUS_BAND": { name: "Bandeau", description: "Ajoute 10% de chances de survivre avec 1 PV si les dégâts reçus pouvaient mettre K.O." },

View File

@ -1194,36 +1194,36 @@ export const ability: AbilityTranslationEntries = {
description: "Quando usa mosse di stato, il Pokémon agisce più lentamente, ma ignora l'abilità del bersaglio se questa ha effetto su tali mosse.",
},
mindsEye: {
name: "Occhio Interiore",
description: "Permette di colpire bersagli di tipo Spettro con mosse di tipo Normale e Lotta, di ignorare modifiche alla loro elusione e di non veder ridotta la propria precisione.",
},
supersweetSyrup: {
name: "Sciroppo Sublime",
description: "La prima volta che il Pokémon entra in campo, spande un odore dolciastro che diminuisce l'elusione degli avversari.",
},
hospitality: {
name: "Ospitalità",
description: "Quando un Pokémon con questa abilità entra in campo ricopre di attenzioni l'alleato, restituendogli un po' dei suoi PS.",
},
supersweetSyrup: {
name: "Occhio Interiore",
description: "Permette di colpire bersagli di tipo Spettro con mosse di tipo Normale e Lotta, di ignorare modifiche alla loro elusione e di non veder ridotta la propria precisione.",
},
hospitality: {
name: "Albergamemorie",
description: "Il Pokémon riporta alla mente vecchi ricordi, facendo risplendere la Maschera Turchese e aumentando la propria Velocità.",
},
toxicChain: {
name: "Catena Tossica",
description: "Quando il Pokémon colpisce il bersaglio con una mossa, può iperavvelenarlo grazie al potere della catena intrisa di tossine.",
name: "Albergamemorie",
description: "Il Pokémon riporta alla mente vecchi ricordi, facendo risplendere la Maschera Pozzo e aumentando la propria Difesa Speciale.",
},
embodyAspectTeal: {
name: "Albergamemorie",
description: "Il Pokémon riporta alla mente vecchi ricordi, facendo risplendere la Maschera Focolare e aumentando il proprio Velocità.",
description: "Il Pokémon riporta alla mente vecchi ricordi, facendo risplendere la Maschera Focolare e aumentando il proprio Attacco.",
},
embodyAspectWellspring: {
name: "Albergamemorie",
description: "Il Pokémon riporta alla mente vecchi ricordi, facendo risplendere la Maschera Fondamenta e aumentando la propria Difesa Speciale.",
description: "Il Pokémon riporta alla mente vecchi ricordi, facendo risplendere la Maschera Fondamenta e aumentando la propria Difesa.",
},
embodyAspectHearthflame: {
name: "Albergamemorie",
description: "Il Pokémon riporta alla mente vecchi ricordi, facendo risplendere la Maschera Fondamenta e aumentando la propria Attacco.",
name: "Catena Tossica",
description: "Quando il Pokémon colpisce il bersaglio con una mossa, può iperavvelenarlo grazie al potere della catena intrisa di tossine.",
},
embodyAspectCornerstone: {
name: "Albergamemorie",
description: "Il Pokémon riporta alla mente vecchi ricordi, facendo risplendere la Maschera Fondamenta e aumentando la propria Difesa.",
name: "Sciroppo Sublime",
description: "La prima volta che il Pokémon entra in campo, spande un odore dolciastro che diminuisce l'elusione degli avversari.",
},
teraShift: {
name: "Teramorfosi",

View File

@ -198,7 +198,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
"HEALING_CHARM": { name: "Curamuleto", description: "Aumenta del 10% l'efficacia delle mosse e degli oggetti che ripristinano i PS (escluse le rianimazioni)" },
"CANDY_JAR": { name: "Barattolo di caramelle", description: "Aumenta di 1 il numero di livelli aggiunti dalle Caramelle Rare" },
"BERRY_POUCH": { name: "Porta Bacche", description: "Aggiunge il 33% di possibilità che una bacca usata non venga consumata" },
"BERRY_POUCH": { name: "Porta Bacche", description: "Aggiunge il 25% di possibilità che una bacca usata non venga consumata" },
"FOCUS_BAND": { name: "Bandana", description: "Chi ce l'ha ottiene il 10% di possibilità aggiuntivo di evitare un potenziale KO e rimanere con un solo PS" },

View File

@ -198,7 +198,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
"HEALING_CHARM": { name: "Amuleto de Cura", description: "Aumenta a eficácia dos movimentos e itens que restauram PS em 10% (exceto Reanimador)" },
"CANDY_JAR": { name: "Pote de Doces", description: "Aumenta o número de níveis adicionados pelo Doce Raro em 1" },
"BERRY_POUCH": { name: "Bolsa de Berries", description: "Adiciona uma chance de 33% de que uma berry usada não seja consumida" },
"BERRY_POUCH": { name: "Bolsa de Berries", description: "Adiciona uma chance de 25% de que uma berry usada não seja consumida" },
"FOCUS_BAND": { name: "Bandana", description: "Adiciona uma chance de 10% de sobreviver com 1 PS após ser danificado o suficiente para desmaiar" },

View File

@ -198,7 +198,7 @@ export const modifierType: ModifierTypeTranslationEntries = {
"HEALING_CHARM": { name: "治愈护符", description: "HP回复量增加10% (含复活)" },
"CANDY_JAR": { name: "糖果罐", description: "神奇糖果提供的升级提升1级" },
"BERRY_POUCH": { name: "树果袋", description: "使用树果时有33%的几率不会消耗树果" },
"BERRY_POUCH": { name: "树果袋", description: "使用树果时有25%的几率不会消耗树果" },
"FOCUS_BAND": { name: "气势头带", description: "携带该道具的宝可梦有10%几率在受到\n攻击而将陷入濒死状态时保留1点HP不陷入濒死状态" },

View File

@ -2076,6 +2076,7 @@ export class TurnStartPhase extends FieldPhase {
}
}
this.scene.pushPhase(new BerryPhase(this.scene));
if (this.scene.arena.weather)
this.scene.pushPhase(new WeatherEffectPhase(this.scene, this.scene.arena.weather));
@ -2085,7 +2086,6 @@ export class TurnStartPhase extends FieldPhase {
this.scene.pushPhase(new PostTurnStatusEffectPhase(this.scene, o));
}
this.scene.pushPhase(new BerryPhase(this.scene));
this.scene.pushPhase(new TurnEndPhase(this.scene));
this.end();
@ -2098,9 +2098,7 @@ export class BerryPhase extends FieldPhase {
super.start();
this.executeForAll((pokemon) => {
const hasUsableBerry = !!this.scene.findModifier((m) => {
return m instanceof BerryModifier && m.shouldApply([pokemon]);
}, pokemon.isPlayer());
const hasUsableBerry = !!this.scene.findModifier((m) => m instanceof BerryModifier && m.shouldApply([pokemon]), pokemon.isPlayer());
if (hasUsableBerry) {
const cancelled = new Utils.BooleanHolder(false);