mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-15 21:02:18 +02:00
Changed the text response for Sheer Cold immunity
This commit is contained in:
parent
d31a8fae93
commit
fc9ed76c36
@ -1366,7 +1366,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
if (!typeMultiplier.value)
|
if (!typeMultiplier.value)
|
||||||
result = HitResult.NO_EFFECT;
|
result = move.id == Moves.SHEER_COLD ? HitResult.FAIL : HitResult.NO_EFFECT;
|
||||||
else {
|
else {
|
||||||
const oneHitKo = new Utils.BooleanHolder(false);
|
const oneHitKo = new Utils.BooleanHolder(false);
|
||||||
applyMoveAttrs(OneHitKOAttr, source, this, move, oneHitKo);
|
applyMoveAttrs(OneHitKOAttr, source, this, move, oneHitKo);
|
||||||
@ -1434,6 +1434,9 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
case HitResult.NO_EFFECT:
|
case HitResult.NO_EFFECT:
|
||||||
this.scene.queueMessage(`It doesn\'t affect ${this.name}!`);
|
this.scene.queueMessage(`It doesn\'t affect ${this.name}!`);
|
||||||
break;
|
break;
|
||||||
|
case HitResult.FAIL:
|
||||||
|
this.scene.queueMessage(`${this.name} is unaffected!`);
|
||||||
|
break;
|
||||||
case HitResult.ONE_HIT_KO:
|
case HitResult.ONE_HIT_KO:
|
||||||
this.scene.queueMessage('It\'s a one-hit KO!');
|
this.scene.queueMessage('It\'s a one-hit KO!');
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user