(Request) Script amending magic in battle (probability)

----English

Hello everybody. Look here I am again.

Well, I would like a script that: "When hero" Y "to use a skill, has" x% "chance, another skill to be used in its place"

example:

John uses Fire 1.
"Fire 1" has a 40% chance of being is cast "fire 2" in its place (rather than fire1).

Antonio Fire uses 1.
"Fire 1" has 0% chance of being is cast "fire 2" in its place (rather than fire1).

Mark uses Fire 1.
"Fire 1" has a 90% chance of being is cast "fire 2" in its place (rather than fire1).

=)

----- Português

Olá pessoal. Olha eu aqui mais uma vez.

Bem, eu gostaria de um script que: "Ao heroi "Y" usar uma habilidade, possui "x%" de chance, de ser utilizada outra habilidade em seu lugar"

Exemplo:

João usa Fire 1.
"Fire 1" possui 40% de chance de ser castado "fire 2" em seu lugar (ao invés de fire1) .

Antonio usa Fire 1.
"Fire 1" possui 0% de chance de ser castado "fire 2" em seu lugar (ao invés de fire1) .

Marcos usa Fire 1.
"Fire 1" possui 90% de chance de ser castado "fire 2" em seu lugar (ao invés de fire1) .

=)
Umm, I've sorta got a script that you're looking for.

Check this out here: http://www.rpgmakervxace.net/topic/17760-vts-critical-magic-casting/#entry121570

EDIT: 

I just updated this script. It includes what (I think) you're looking for.

Each actor can have a different activation rate for each individual skill.

Original thread: https://forums.rpgmakerweb.com/threads/request-script-amending-magic-in-battle-probability.27257/