Add snow as a weather
This commit is contained in:
1 parent
7275876120
commit
0196cf8310
3 files changed
+16
-4
No files matched your search
@@ -523,6 +523,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
ret >>= 1;
|
||||
break;
|
||||
case Stat.DEF:
|
||||
if (this.isOfType(Type.ICE) && this.scene.arena.weather?.weatherType === WeatherType.SNOW)
|
||||
ret *= 1.5;
|
||||
break;
|
||||
case Stat.SPATK:
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user