mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
[Bug] Fix Weather based Healing Moves and Solar Beam/Blade not interacting with Fog
Update move.ts
This commit is contained in:
parent
7c6189e812
commit
a66749e945
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user