Weather damages through enduring
This commit is contained in:
1 parent
314b7dba43
commit
1085e0f692
1 file changed
+1
-1
+1
-1
@@ -2571,7 +2571,7 @@ export class WeatherEffectPhase extends CommonAnimPhase {
|
|||||||
const damage = Math.ceil(pokemon.getMaxHp() / 16);
|
const damage = Math.ceil(pokemon.getMaxHp() / 16);
|
||||||
|
|
||||||
this.scene.queueMessage(getWeatherDamageMessage(this.weather.weatherType, pokemon));
|
this.scene.queueMessage(getWeatherDamageMessage(this.weather.weatherType, pokemon));
|
||||||
pokemon.damageAndUpdate(damage);
|
pokemon.damageAndUpdate(damage, HitResult.OTHER, false, false, true);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.executeForAll((pokemon: Pokemon) => {
|
this.executeForAll((pokemon: Pokemon) => {
|
||||||
|
|||||||
Reference in new issue
Block a user