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:
|
||||
break;
|
||||
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;
|
||||
break;
|
||||
case Stat.SPD:
|
||||
|
|
Loading…
Reference in New Issue