mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Merge branch 'main' of https://github.com/IshanP02/pokerogue
This commit is contained in:
commit
10c27336d4
@ -1155,6 +1155,8 @@ export class PostSummonFormChangeAbAttr extends PostSummonAbAttr {
|
||||
export class TraceAbAttr extends PostSummonAbAttr {
|
||||
applyPostSummon(pokemon: Pokemon, passive: boolean, args: any[]): boolean {
|
||||
const targets = pokemon.getOpponents();
|
||||
if (!targets.length)
|
||||
return false;
|
||||
let target: Pokemon;
|
||||
if (targets.length > 1)
|
||||
pokemon.scene.executeWithSeedOffset(() => target = Utils.randSeedItem(targets), pokemon.scene.currentBattle.waveIndex);
|
||||
|
@ -2828,16 +2828,16 @@ export class NaturePowerAttr extends OverrideMoveEffectAttr {
|
||||
case TerrainType.NONE:
|
||||
switch (user.scene.arena.biomeType) {
|
||||
case Biome.TOWN:
|
||||
moveId = Moves.TRI_ATTACK;
|
||||
moveId = Moves.ROUND;
|
||||
break;
|
||||
case Biome.METROPOLIS:
|
||||
moveId = Moves.DARK_PULSE;
|
||||
moveId = Moves.TRI_ATTACK;
|
||||
break;
|
||||
case Biome.SLUM:
|
||||
moveId = Moves.SLUDGE_BOMB;
|
||||
break;
|
||||
case Biome.PLAINS:
|
||||
moveId = Moves.ROUND;
|
||||
moveId = Moves.SILVER_WIND;
|
||||
break;
|
||||
case Biome.GRASS:
|
||||
moveId = Moves.GRASS_KNOT;
|
||||
|
Loading…
Reference in New Issue
Block a user