[Bug] Fix Weather based Healing Moves and Solar Beam/Blade not interacting with Fog

Update move.ts
This commit is contained in:
damocleas 2025-06-13 18:13:30 -04:00 committed by GitHub
parent 7c6189e812
commit a66749e945
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2156,6 +2156,7 @@ export class PlantHealAttr extends WeatherHealAttr {
case WeatherType.SANDSTORM:
case WeatherType.HAIL:
case WeatherType.SNOW:
case WeatherType.FOG:
case WeatherType.HEAVY_RAIN:
return 0.25;
default:
@ -4157,6 +4158,7 @@ export class AntiSunlightPowerDecreaseAttr extends VariablePowerAttr {
case WeatherType.SANDSTORM:
case WeatherType.HAIL:
case WeatherType.SNOW:
case WeatherType.FOG:
case WeatherType.HEAVY_RAIN:
power.value *= 0.5;
return true;