mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
[Bug] Fix Fog interactions with Morning Sun/Synthesis/Moonlight and Solar Beam/Blade (#5987)
Fix Weather based Healing Moves and Solar Beam/Blade not interacting with Fog Update move.ts
This commit is contained in:
parent
7c6189e812
commit
718d6f61cf
@ -2156,6 +2156,7 @@ export class PlantHealAttr extends WeatherHealAttr {
|
|||||||
case WeatherType.SANDSTORM:
|
case WeatherType.SANDSTORM:
|
||||||
case WeatherType.HAIL:
|
case WeatherType.HAIL:
|
||||||
case WeatherType.SNOW:
|
case WeatherType.SNOW:
|
||||||
|
case WeatherType.FOG:
|
||||||
case WeatherType.HEAVY_RAIN:
|
case WeatherType.HEAVY_RAIN:
|
||||||
return 0.25;
|
return 0.25;
|
||||||
default:
|
default:
|
||||||
@ -4157,6 +4158,7 @@ export class AntiSunlightPowerDecreaseAttr extends VariablePowerAttr {
|
|||||||
case WeatherType.SANDSTORM:
|
case WeatherType.SANDSTORM:
|
||||||
case WeatherType.HAIL:
|
case WeatherType.HAIL:
|
||||||
case WeatherType.SNOW:
|
case WeatherType.SNOW:
|
||||||
|
case WeatherType.FOG:
|
||||||
case WeatherType.HEAVY_RAIN:
|
case WeatherType.HEAVY_RAIN:
|
||||||
power.value *= 0.5;
|
power.value *= 0.5;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user