• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.

New Ability Help V21.1: Ability that adds one additional stat boost when you gain a stat boost

Caesitas

Rookie
Member
Joined
Aug 13, 2023
Posts
2
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 ability not infinitely trigger itself.

If anyone has any help for how to implement this ability, I would appreciate it!
 

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
260
Since it's only triggered when using a move so you can just edit Battle::Move::StatUpMove and Battle::Move::MultiStatUpMove to prevent infinite trigger.
 

Caesitas

Rookie
Member
Joined
Aug 13, 2023
Posts
2
Since it's only triggered when using a move so you can just edit Battle::Move::StatUpMove and Battle::Move::MultiStatUpMove to prevent infinite trigger.
That is such a simple way to make this ability, thanks!
 
Back
Top