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.
pull/93/head
AppleOfTheDark 2024-04-11 20:52:15 +01:00 committed by GitHub
parent 3d959e3860
commit d05fab041c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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