Is there a way to make certain states change the normal attack?

Read the title; is there a way to make a certain state change what the normal attack is?

For example, there is a certain state, and for one turn that state changes the normal attack to something else. Is there a script for that?
Yes but its a bit convoluted, as it takes many scripts working together in certain cases.

The easiest default way is to have your atk skill add a common event this the desired effects your wanting to apply.

There is more advanced stuff but its this should help for now.

The common event with contain & trigger a conditional branch of what you need, the only issue I can see you running into is if you have multiple different effects stacking at the same time or trying to overwrite each other, but a simple common event call will handle most of what you want.

Changing the animation might be more tricky, & if you want to trigger a entirely different skill used have to use a blank atk skill do common event call a forced atk onto your target which is where its gets super complex.
Moved to: RGSS3 Script Requests
oh thanks shaz
also, i found a way to do it; i made the normal attack skill do nothing, and then made two other skills: one for normal attacking, and one for the attack under the state. the first attack skill that does nothing runs a common event so that if there is no state the actor does a normal attack, while if there is a state the actor does the state attack. thanks!

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-make-certain-states-change-the-normal-attack.132032/