mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-18 15:00:55 +00:00
Weather damages through enduring
This commit is contained in:
parent
314b7dba43
commit
1085e0f692
@ -2571,7 +2571,7 @@ export class WeatherEffectPhase extends CommonAnimPhase {
|
||||
const damage = Math.ceil(pokemon.getMaxHp() / 16);
|
||||
|
||||
this.scene.queueMessage(getWeatherDamageMessage(this.weather.weatherType, pokemon));
|
||||
pokemon.damageAndUpdate(damage);
|
||||
pokemon.damageAndUpdate(damage, HitResult.OTHER, false, false, true);
|
||||
};
|
||||
|
||||
this.executeForAll((pokemon: Pokemon) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user