How to make Effects apply before damage.

I want a common event to play before the damage of a skill to apply. I tried using Yanfly's Skill Core but I don't know what to type. Please help.
Normally, common events aren't directly played, they're reserved. Without plugins that alter it, they play the next time they're able instead of on the spot when they're "called".
What have you already tried and what is your common event supposed to do? Depending on what that is, you might be able to use script directly inside of a skill core notetag instead of a common event.

I think Yanfly's action sequences allows you to play with when common events run within a skill, but I haven't played around with that myself.
I want the attack to (in order)

-Use attack
Play Dialogue
Wait a turn
Play Dialogue 2
Wait a turn
Play Dialogue 3
Damage the enemy (300 flat damage)
Apply a state (Paralysis)

if that is too complex, just the dialogue then the damage and stun would be perfectly acceptable as well
-Use attack
Play Dialogue
Wait a turn
Play Dialogue 2
Wait a turn
Play Dialogue 3
Damage the enemy (300 flat damage)
Apply a state (Paralysis)
Just to be clear, is this all supposed to be one skill? you use it one turn, play a monologue over a few turns, and then execute the actual attack at the end?

If thats the case, then imo you'd want to split the skill into 3 where the first 2 gives the user a corresponding state and use Yanfly's buffs and states core to make those states force the user to use the next skill in the chain at the end of the turn. Basically Yanfly's Jump but with extra steps.

for the actual attack there, you should be able to use Yanfly's action sequences to call the common event as a part of the setup action. The only restriction the website lists is that it can only process the last common event in a skill,
Just to be clear, is this all supposed to be one skill? you use it one turn, play a monologue over a few turns, and then execute the actual attack at the end?
Yes, exactly

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-effects-apply-before-damage.178514/