Skill changing damage/effects depending on state.

Howdy. I'm designing a specific magic system that makes low-damage spells powerful when the player has a certain state.

The main idea is that if the player has Spark and also the state Pyromancer, Spark will deal more damage and also have a chance to set enemies on fire without needing to replace the skill Spark. In simpler terms, magical combos. Spark + Pyromancer = Fireball.
What would be the most efficient way to do this?
In the damage formula, you can put the following:

Code:
(a.isStateAffected(x) ? 2 : 1) * (a.mat) - (b.mdf / 2)

Where X is the ID for the Pyromancer state.

The number before the colon (in this case 2) would be used if the user is affected with the state. You can modify it however you please.
In the damage formula, you can put the following:

Code:
(a.isStateAffected(x) ? 2 : 1) * (a.mat) - (b.mdf / 2)

Where X is the ID for the Pyromancer state.

The number before the colon (in this case 2) would be used if the user is affected with the state. You can modify it however you please.
ayy. while that would probably work, in the interest of organization and development in the long run, what i'm specifically wondering is would there be any way to trigger a second move of a different skill from an actor if conditions are met?

Original thread: https://forums.rpgmakerweb.com/threads/skill-changing-damage-effects-depending-on-state.126271/