Snow Cloak Conditional Fix (#91)

* Snow Cloak Hail Condition Fix

Snow Cloak's evasion wasn't actually checking for hail, so the condition has been added.

* Snow Cloak

getWeatherCondition is not meant to have a capital.
This commit is contained in:
AppleOfTheDark authored and GitHub committed 2024-04-11 15:52:15 -04:00
1 parent 3d959e3860
commit d05fab041c
1 file changed
+1
+1
View File
@@ -2140,6 +2140,7 @@ export function initAbilities() {
new Ability(Abilities.SNOW_CLOAK, "Snow Cloak", "Boosts evasiveness in a hailstorm.", 4)
.attr(BattleStatMultiplierAbAttr, BattleStat.EVA, 1.2)
.attr(BlockWeatherDamageAttr, WeatherType.HAIL)
.condition(getWeatherCondition(WeatherType.HAIL))
.ignorable(),
new Ability(Abilities.GLUTTONY, "Gluttony", "Makes the Pokémon eat a held Berry when its HP drops to half or less, which is sooner than usual.", 4)
.attr(ReduceBerryUseThresholdAbAttr),