MV State that adds an Element Type to All Skills Used

As the title suggests, I'm wondering if there exists a plugin to make it so that when a user is afflicted with a state, for the duration it exists, all skills utilized by the user will have a specified type. This additional element type preferably would be compatible with the Multi-Element Ruling of Yanfly's Element Core.

For instance, Actor 1 has a Burn Skill assigned with Element Fire. There will be a State X that applies Element Ice. When Actor 1 receives State X and performs the Burn Skill, that damage will have both the Fire and Ice type. In a sense, it's just like the Attack Element trait, but for skills instead.

Looking through past threads and existing plugins, I haven't been able to notice any trick to do this without directly adding a condition to all existing skills, such as the "Add Element: X" command as an addition to Yanfly's Action Sequences from Element Core, which I'd much rather prefer as a last resort.
Well, the add element action sequence command adds the element IDs to an array in $gameTemp._addedElements.

So you could try something like
Code:
<Custom Initiate Effect>
if (this.isDamage())
    $gameTemp._addedElements = [2];
</Custom Initiate Effect>
where 2 is the ID of your ice element.
So you could try something like
Code:
<Custom Initiate Effect>
if (this.isDamage())
    $gameTemp._addedElements = [2];
</Custom Initiate Effect>
where 2 is the ID of your ice element.

Oh, this actually worked perfectly! Didn't think it was that simple. Thanks for the fast response. It takes into account the resistances and weaknesses of other elements as well which is what I wanted.
This thread is closed due to being reported as solved. If you need it reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/state-that-adds-an-element-type-to-all-skills-used.173600/