mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-12 10:29:30 +02:00
Implement solarpower
This commit is contained in:
parent
7f30cc1d37
commit
0f81f38b99
@ -1493,7 +1493,10 @@ export function initAbilities() {
|
||||
.attr(BlockWeatherDamageAttr, WeatherType.HAIL),
|
||||
new Ability(Abilities.SNOW_WARNING, "Snow Warning", "The Pokémon summons a hailstorm in battle.", 4)
|
||||
.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, 80, WeatherType.SUNNY, WeatherType.HARSH_SUN)
|
||||
.attr(BattleStatMultiplierAbAttr, BattleStat.ATK, 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.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),
|
||||
|
@ -40,7 +40,7 @@ export enum FieldPosition {
|
||||
RIGHT
|
||||
}
|
||||
|
||||
const ABILITY_OVERRIDE = Abilities.NONE;
|
||||
const ABILITY_OVERRIDE = Abilities.SOLAR_POWER;
|
||||
const MOVE_OVERRIDE = Moves.NONE;
|
||||
|
||||
const OPP_ABILITY_OVERRIDE = Abilities.NONE;
|
||||
|
Loading…
Reference in New Issue
Block a user