Change Skilltype during State

Hello guys, i'm new into the rpg maker scene and I stumbled upon a problem, i can't solve alone,
Hopefully you can help me.

I have an actor which has the skilltype "Souls" and when the actor gets into a specific state i want the skilltype "souls" to change into "magic".
Is there a way how to solve my headache.

Thank You
Well you can use this plugin.
With this code:
<battle command: attack />
<battle command: gaurd />
< battle command >
name: “Souls”,
symbol: “skill_type”,
ext: "x";
isVisible: “!(a.isStateAffected(y))”
< / battle command >

< battle command >
name: “Magic”,
symbol: “skill_type”,
ext: "w";
isVisible: “(a.isStateAffected(y))”
< / battle command >

<battle command: item/>

x = souls skill type id
w = magic skill type id
y = state id of the state that is suppose to have this change.

Basically the code says if the user is or is not affected by the state, will make either Souls or Magic no show in game. However whatever chatacter has this setup must have acssess to theese skills, they must have that skill type accesse.
Thank You very much, but somehow it doesn't work, i downloaded the plugin, and put the code into the actor's note. but it does nothing.
Did you replace y with the id of the state that younwant this to work with, and replace x with skill type id of souls and w with the skill type of magic?

If you have done what I said above, do you have any plugins and what order are they in.
Yes i did everything as you said, but it didn't changed at all. Maybe you're right and some plugin are not compatible ?
Here is my Plugin List
do4gkd3k.png

Thank you very much.
Remove the second Victor Basic Module, the one under Victor Dual Weild.
Then:
MadeWithMV
VE_Basic
VE_DualWeild
YEP_BattleEngine
YEP_X_ActSeqPack2
YEP_X_AnimatedSVEnemies
YEP_BuffStatesCore
YEP_SkillCore
HIME_ActorBattleCommand
SRD_ElementalColors
Still didn't work unforunatley,
thank you
Maybe Common Event can do this... with 2 Class (1 Soul and 1 Magic) But it would be a Parralel Process (Maybe you can add a Switch that you active on every battle, for economising the computer CPU(As if you don't it would search every time) )
Check if Actor1 have state : "Change Skill" [
Change Actor1 Class to Magic
Else
Change Actor 1 Class to Soul
]
Check if Actor2 have state : "Change Skill" [

Change Actor2 Class to Magic
Else
Change Actor 2 Class to Soul
]
Check if Actor3 have state : "Change Skill" [

Change Actor3 Class to Magic
Else
Change Actor 3 Class to Soul
]
Ect...

Original thread: https://forums.rpgmakerweb.com/threads/change-skilltype-during-state.82149/