mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-21 07:42:25 +02:00
Fix merge issues
This commit is contained in:
parent
f674523b72
commit
909db9802f
@ -1024,7 +1024,7 @@ export class EncoreTag extends MoveRestrictionBattlerTag {
|
||||
if (movesetMove) {
|
||||
const lastMove = pokemon.getLastXMoves(1)[0];
|
||||
globalScene.tryReplacePhase((m => m instanceof MovePhase && m.pokemon === pokemon),
|
||||
new MovePhase(pokemon.scene, pokemon, lastMove.targets ?? [], movesetMove));
|
||||
new MovePhase(pokemon, lastMove.targets ?? [], movesetMove));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9200,7 +9200,7 @@ export function initMoves() {
|
||||
return 1;
|
||||
}
|
||||
const weatherTypes = [ WeatherType.SUNNY, WeatherType.RAIN, WeatherType.SANDSTORM, WeatherType.HAIL, WeatherType.SNOW, WeatherType.FOG, WeatherType.HEAVY_RAIN, WeatherType.HARSH_SUN ];
|
||||
if (weatherTypes.includes(weather.weatherType) && !weather.isEffectSuppressed(user.scene)) {
|
||||
if (weatherTypes.includes(weather.weatherType) && !weather.isEffectSuppressed()) {
|
||||
return 2;
|
||||
}
|
||||
return 1;
|
||||
@ -11030,7 +11030,7 @@ export function initMoves() {
|
||||
if (!weather) {
|
||||
return 1;
|
||||
}
|
||||
return [ WeatherType.SUNNY, WeatherType.HARSH_SUN ].includes(weather.weatherType) && !weather.isEffectSuppressed(user.scene) ? 1.5 : 1;
|
||||
return [ WeatherType.SUNNY, WeatherType.HARSH_SUN ].includes(weather.weatherType) && !weather.isEffectSuppressed() ? 1.5 : 1;
|
||||
}),
|
||||
new AttackMove(Moves.RUINATION, Type.DARK, MoveCategory.SPECIAL, -1, 90, 10, -1, 0, 9)
|
||||
.attr(TargetHalfHpDamageAttr),
|
||||
|
Loading…
Reference in New Issue
Block a user