Multi-Hit Attacks That Inflict Different Damage Types

So, I've been looking around and can't find much regarding my idea and I'm struggling on implementing it. So, I'm making an attack called Elemental Storm, which hits four times. The first hit being fire element, second water, third air, and fourth earth. Not sure how to change the damage type per hit and would appreciate any sort of advice.
You can accomplish this with action sequences and Element Core: use the FORCE ELEMENT action command before each hit.
@Trihan's solution is the most expedient way to do it for sure, but if you don't want to use Yanfly's paid plugins, or you don't want to switch to an Action Sequence-style approach, the pure eventing way to do this (and it will look a little rougher to the player) would be to have the first skill be, say, just the Fire hit with one repeat. Have it call a Common Event (in the features box) which has a Force Action command for a second skill - the Water hit - on the "last target". Have that skill call a Common Event which calls the Wind hit, etc., until you trigger the final element's skill which should not call a Common Event.
If you do use sideview/action sequences, I've taken the liberty of creating a working setup for you:

Code:
<setup action>
clear battle log
display action
immortal: targets, true
move user: target, front base
wait for movement
cast animation
wait for animation
</setup action>

<target action>
force element: fire
animation 8: target
wait for animation
action effect: target
motion attack: user
force element: water
animation 81: target
wait for animation
action effect: target
motion attack: user
force element: wind
animation 91: target
wait for animation
action effect: target
motion attack: user
force element: earth
animation 86: target
wait for animation
action effect: target
motion attack: user
</target action>

<finish action>
immortal: targets, false
wait for new line
clear battle log
perform finish
wait for movement
</finish action>
I appreciate all the answers! I'll be trying them out to when I get home later to see what works best for me. Thanks again!
@Trihan's solution is the most expedient way to do it for sure, but if you don't want to use Yanfly's paid plugins, or you don't want to switch to an Action Sequence-style approach, the pure eventing way to do this (and it will look a little rougher to the player) would be to have the first skill be, say, just the Fire hit with one repeat. Have it call a Common Event (in the features box) which has a Force Action command for a second skill - the Water hit - on the "last target". Have that skill call a Common Event which calls the Wind hit, etc., until you trigger the final element's skill which should not call a Common Event.
This sounds like a nice solution, but if I'm not mistaken it does mean the skill can only be used by one actor, right?
This sounds like a nice solution, but if I'm not mistaken it does mean the skill can only be used by one actor, right?
It would be harder to make it usable with multiple actors, but it's doable.

One way is you could simply have two separate lines of otherwise-identical skills - for example one calls the Common Event that triggers the Lucius-casted second skill, and the other calls the Common Event that triggers the Harold-casted second skill.

The other way you could do it is by applying a dummy state (Priority 0, no gameplay effect) to the caster (use the code a.add_state(x); at the beginning of your damage formula, where x is the State ID of the dummy state). In the common event, check using Conditional Branches whether each actor has the Dummy State, and if so, use that actor in the Force Action to cast on the Last Target. That way, whoever cast the first (fire) skill will also be the one that casts the second (water) and so forth. At the end of the common event, be sure to remove the dummy state from all actors.

Original thread: https://forums.rpgmakerweb.com/threads/multi-hit-attacks-that-inflict-different-damage-types.124459/