smogon / pokemon-showdown

Pokémon battle simulator.
https://pokemonshowdown.com
MIT License
4.82k stars 2.81k forks source link

Mirror Herb + Competitive + Multiple stat drops #9522

Open FredrIQ opened 1 year ago

FredrIQ commented 1 year ago

While browsing the PS code as an battle engine mechanics check in a personal project, I noticed something that didn't seem entirely right. I confirmed my suspicions with a friend who owned SV.

PS triggers Mirror Herb as a post-boost action. However, Competitive triggers after each boost and is itself a boost. This results in a problem. Tests were done with a Palafin holding Mirror Herb knowing Tickle against a Wigglytuff with the ability Competitive.

Showdown behaviour:

Suspected, and confirmed in-game behaviour:

itsdarsh commented 1 year ago

For myself when I tested in game, I tested with a Dondozo with Tickle holding Mirror Herb against a Bisharp with Defiant. Same behavior.