mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
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…
x
Reference in New Issue
Block a user