I have an idea for an ability called Tempered Forge that activates whenever your Pokemon uses a move that gives them a stat boost, they have a small chance to gain one additional boost of the same type.
I've looked into the onStatGain ability handler, and cannot figure out how to make this...