• Follow our Instagram!
  • Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.

Duplicate Bug Report - Mechanics

What type of bug are you reporting? Mechanics

What is the bug?
[Gen 9] Mirror Herb doesn't copy boosts from pinch berries (liechi, ganlon, etc) if they were triggered from end of turn damage (such as poison or gmax centiferno) until the next turn. It activates as soon as any Pokemon in the battle takes an action the next turn, including if the Pokemon that got the stat boost switches out (if the Mirror Herb Pokemon switches out, its Mirror Herb is not consumed). I don't have a copy of SV to test this behavior, but the boost gets copied on the same turn if its triggered from direct damage, so it seems inconsistent.

Are you able to replicate it? If so, how?
Here's the example battle I did in Gen 9 OU
Player 1 sent out Breloom holding Mirror Herb, Player 2 sent out Cinderace holding Salac Berry

Direct Damage Induced Pinch Berry
Turn 1
Breloom charges Focus Punch
Cinderace uses Court Change, but it failed
Breloom used Focus Punch (Cinderace gets knocked under 25%)
Cinderace's Salac Berry raises its speed
Breloom's Mirror Herb boosted its speed

End Turn Damage Induced Pinch Berry
Turn 1
Breloom charges Focus Punch
Cinderace uses Court Change, but it failed
Breloom used Focus Punch (Cinderace is above 25%)
Turn 2
Cinderace uses Court Change, but it failed
Breloom used Toxic, Cinderace is badly poisoned
Cinderace is hurt by poison (its still above 25%)
Turn 3
Cinderace uses Court Change, but it failed
Breloom used Toxic, but it failed
Cinderace is hurt by poison (it is below 25%)
Cinderace's Salac Berry boosted its speed
Turn 4
Player 2 withdrew Cinderace, Player 2 sent out Alomomola
Breloom's Mirror Herb raised its Speed
Breloom is charging Focus Punch
Breloom used Focus Punch
 
This PR fixes it.
Mirror Herb is one of the latest effects to activate during residuals. The problem is that currently, berries are activated during the Update event. However, the Update event only runs after all residuals have finished. In the PR I submitted, berries that are activated by an HP threshold now trigger on damage instead of during the Update event, so everything unfolds as expected.
 
Back
Top