So, I would like to show for example a character's Magic attack in the description for a skill. How would I do this? So it would say something like : A fire attack with a Potency of [Whatever the users Magic attack is].
For now, I'm using YEP_X_MassageEvalText plugin, and I can make the stats of a certain actor appear with
but what I would like is to display the stat of the actor who I'm looking at in the menu, or whose turn it is in battle.
EDIT: Found the solution myself. Apparently the solution is rather easy. Sorry for bothering you all.
(In case anyone's wondering, I was going to use this to precalculate damage against an average opponent of the player's level. So the actual code would be
where 11*1.1^(lvl) is the expected stat growth for enemies
For now, I'm using YEP_X_MassageEvalText plugin, and I can make the stats of a certain actor appear with
Code:
\evalText<<$gameActors.actor(1).atk>>
but what I would like is to display the stat of the actor who I'm looking at in the menu, or whose turn it is in battle.
EDIT: Found the solution myself. Apparently the solution is rather easy. Sorry for bothering you all.
Code:
\evalText<<$gameParty.menuActor().atk>>
(In case anyone's wondering, I was going to use this to precalculate damage against an average opponent of the player's level. So the actual code would be
Code:
\evalText<<Math.floor($gameParty.menuActor().atk*$gameParty.menuActor().atk/Math.floor(11*Math.power(1.1, $gameParty.menuActor().level)))>>
where 11*1.1^(lvl) is the expected stat growth for enemies