Add Focus Band item

This commit is contained in:
Flashfyre committed 2023-04-23 21:31:06 -04:00
1 parent e7c0c1abd4
commit c1e048e9af
6 files changed
+65 -14

No files matched your search

+1 -1
View File
@@ -1150,8 +1150,8 @@ export class WeatherEffectPhase extends CommonAnimPhase {
if (this.weather.isDamaging()) {
const inflictDamage = (pokemon: Pokemon) => {
this.scene.queueMessage(getWeatherDamageMessage(this.weather.weatherType, pokemon));
pokemon.damage(Math.ceil(pokemon.getMaxHp() / 16));
this.scene.unshiftPhase(new DamagePhase(this.scene, pokemon.isPlayer()));
pokemon.damage(Math.ceil(pokemon.getMaxHp() / 16));
};
const playerPokemon = this.scene.getPlayerPokemon();