Implement solarpower (#10)
* Implement solarpower * Fix after review * Fix after review * Update src/data/ability.ts --------- Co-authored-by: Samuel H <flashfireex@gmail.com>pull/11/head
parent
1040b2f1d7
commit
07f82dfcac
|
@ -1493,7 +1493,10 @@ export function initAbilities() {
|
||||||
.attr(BlockWeatherDamageAttr, WeatherType.HAIL),
|
.attr(BlockWeatherDamageAttr, WeatherType.HAIL),
|
||||||
new Ability(Abilities.SNOW_WARNING, "Snow Warning", "The Pokémon summons a hailstorm in battle.", 4)
|
new Ability(Abilities.SNOW_WARNING, "Snow Warning", "The Pokémon summons a hailstorm in battle.", 4)
|
||||||
.attr(PostSummonWeatherChangeAbAttr, WeatherType.HAIL),
|
.attr(PostSummonWeatherChangeAbAttr, WeatherType.HAIL),
|
||||||
new Ability(Abilities.SOLAR_POWER, "Solar Power (N)", "In sunshine, Sp. Atk is boosted but HP decreases.", 4),
|
new Ability(Abilities.SOLAR_POWER, "Solar Power", "In sunshine, Sp. Atk is boosted but HP decreases.", 4)
|
||||||
|
.attr(PostWeatherLapseDamageAbAttr, 2, WeatherType.SUNNY, WeatherType.HARSH_SUN)
|
||||||
|
.attr(BattleStatMultiplierAbAttr, BattleStat.SPATK, 1.5)
|
||||||
|
.condition(getWeatherCondition(WeatherType.SUNNY, WeatherType.HARSH_SUN)),
|
||||||
new Ability(Abilities.SOLID_ROCK, "Solid Rock (N)", "Reduces damage from super-effective attacks.", 4),
|
new Ability(Abilities.SOLID_ROCK, "Solid Rock (N)", "Reduces damage from super-effective attacks.", 4),
|
||||||
new Ability(Abilities.STALL, "Stall (N)", "The Pokémon moves after all other Pokémon do.", 4),
|
new Ability(Abilities.STALL, "Stall (N)", "The Pokémon moves after all other Pokémon do.", 4),
|
||||||
new Ability(Abilities.STEADFAST, "Steadfast (N)", "Raises Speed each time the Pokémon flinches.", 4),
|
new Ability(Abilities.STEADFAST, "Steadfast (N)", "Raises Speed each time the Pokémon flinches.", 4),
|
||||||
|
|
Loading…
Reference in New Issue