Add ex parameters to variables

First of all. My english is too bad, sorry for that.
I want to add to a variable the hit of one of my characters, i know do with things like atk, def, etc, but no with things like crit rate and hit. Is possible? If it is. How?
Which engine are you asking for? You posted this in MZ support, but your profile says you use VX Ace.

Where are you doing this? A damage formula? Notetag? The Control Variables event command?
Te escribo en español, va a ser más fácil para que entiendas.

Queres asignar a una variable el valor del xparam? En ese caso deberias usar:

JavaScript:
$gameActors.actor(X).XPR*100

Reemplaza la "X" con el id del actor y "XPR" con el diminutivo del xparam o usa:

JavaScript:
$gameParty.members()[X].XPR*100

En este caso reemplaza la "X" el slot del actor en el equipo. Toma en cuenta que se empieza desde el 0, entonces los slots son: 0,1,2 y 3.

Esto te sirve para la casilla de Script del comando de un evento.
@WingedHero This is an English language forum, please provide a translation in English.
Sorry
@WingedHero This is an English language forum, please provide a translation in English.
I wrote in Spanish, because it will be easier for him to understand.

The post:

Do you want to assign the xparam value to a variable? In that case you should use:

Code:
$gameActors.actor(X).XPR*100

Replace the "X" with the actor id and "XPR" with the short name of the xparam or use:

Code:
$gameParty.members()[X].XPR*100

In this case the "X" replaces the actor's slot on the team. Take into account that you start from 0, so the slots are: 0,1,2 and 3.

This is for the Script box of an event command.
Te escribo en español, va a ser más fácil para que entiendas.

Queres asignar a una variable el valor del xparam? En ese caso deberias usar:

JavaScript:
$gameActors.actor(X).XPR*100

Reemplaza la "X" con el id del actor y "XPR" con el diminutivo del xparam o usa:

JavaScript:
$gameParty.members()[X].XPR*100

En este caso reemplaza la "X" el slot del actor en el equipo. Toma en cuenta que se empieza desde el 0, entonces los slots son: 0,1,2 y 3.

Esto te sirve para la casilla de Script del comando de un evento.
I will try it now when I have time to see if it works correctly. Thanks for the help, first of all.

Edit: I have tested it and it works, thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/add-ex-parameters-to-variables.166727/