parent
cfd51fb2b7
commit
036755ca1b
|
@ -2113,7 +2113,7 @@ export class PostTurnHurtIfSleepingAbAttr extends PostTurnAbAttr {
|
||||||
for(let oppo of pokemon.getOpponents()) {
|
for(let oppo of pokemon.getOpponents()) {
|
||||||
if(oppo.status !== undefined && oppo.status.effect == StatusEffect.SLEEP) {
|
if(oppo.status !== undefined && oppo.status.effect == StatusEffect.SLEEP) {
|
||||||
oppo.damageAndUpdate(Math.ceil(oppo.getMaxHp() * (1 / 8)), HitResult.OTHER);
|
oppo.damageAndUpdate(Math.ceil(oppo.getMaxHp() * (1 / 8)), HitResult.OTHER);
|
||||||
pokemon.scene.queueMessage(getPokemonMessage(oppo, ' is tormeted!'));
|
pokemon.scene.queueMessage(getPokemonMessage(oppo, ' is tormented!'));
|
||||||
hadEffect = true;
|
hadEffect = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue