You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the calculator and the defending Pokemon's ability is Protosynthesis or Quark Drive and its highest stat is Def or SpD, the damage modifier is not applied. If the weather is manually set to Sun the damage modifier is applied but so would the attacker's, should the attacker also have the ability Protosynthesis or Quark Drive.
Here are screenshots detailing this on the hosted calc:
Booster Energy Pelipper against no item Flutter Mane applies Protosynthesis boost (incorrect):Booster Energy Flutter Mane against non-Booster Energy Pelipper does not apply Protosynthesis boost (incorrect):No item Flutter Mane in sun applies Protosynthesis boost (correct):No item Flutter Mane in sun against no item Sandy Shocks applies Protosynthesis boost to both (correct):No item Flutter Mane does not get the boost (correct):Booster Energy Flutter Mane does not get the boost (incorrect):
The text was updated successfully, but these errors were encountered:
When using the calculator and the defending Pokemon's ability is
Protosynthesis
orQuark Drive
and its highest stat isDef
orSpD
, the damage modifier is not applied. If the weather is manually set toSun
the damage modifier is applied but so would the attacker's, should the attacker also have the abilityProtosynthesis
orQuark Drive
.I think the offending lines are below:
damage-calc/calc/src/mechanics/gen789.ts
Lines 1399 to 1404 in eb28e9b
where it should instead be:
Here are screenshots detailing this on the hosted calc:
Booster Energy Pelipper against no item Flutter Mane applies Protosynthesis boost (incorrect):
Booster Energy Flutter Mane against non-Booster Energy Pelipper does not apply Protosynthesis boost (incorrect):
No item Flutter Mane in sun applies Protosynthesis boost (correct):
No item Flutter Mane in sun against no item Sandy Shocks applies Protosynthesis boost to both (correct):
No item Flutter Mane does not get the boost (correct):
Booster Energy Flutter Mane does not get the boost (incorrect):
The text was updated successfully, but these errors were encountered: