mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-25 19:14:52 +01: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:
|
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…
x
Reference in New Issue
Block a user