SpDef boost in sandstorm only applies to rock types
This commit is contained in:
parent
2c38849aa1
commit
3d959e3860
|
@ -523,7 +523,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||||
case Stat.SPATK:
|
case Stat.SPATK:
|
||||||
break;
|
break;
|
||||||
case Stat.SPDEF:
|
case Stat.SPDEF:
|
||||||
if (this.scene.arena.weather?.weatherType === WeatherType.SANDSTORM)
|
if (this.isOfType(Type.ROCK) && this.scene.arena.weather?.weatherType === WeatherType.SANDSTORM)
|
||||||
ret *= 1.5;
|
ret *= 1.5;
|
||||||
break;
|
break;
|
||||||
case Stat.SPD:
|
case Stat.SPD:
|
||||||
|
|
Loading…
Reference in New Issue