Snow Cloak Hail Condition Fix

Snow Cloak's evasion wasn't actually checking for hail, so the condition has been added.
This commit is contained in:
AppleOfTheDark 2024-04-11 20:19:22 +01:00 committed by GitHub
parent 3d959e3860
commit e3b68125e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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),