MZ a+b formulas instead gameactor out of battle just for tooltips

I would like in my game to implement in the skill descriptions (or in the status window offered by the Items and Equips Core VisuStella MZ plugin) the total value of the damage done through the action sequences using manually set formulas, the problem is that having found how to show the answers solved for these formulas in the tooltips using the Hakuenstudio plugins (those who add eval functions) I see that only gameactor.param(id) works to add parameters to the formulas, and this does not work for my type of game, since both the protagonist's enemies and allies use the same abilities and I want the formula to be solved for each one based on their statistics and not the protagonist's.

So any plugin that can help me, or information about code (because as you can see I know very little) would be of great help.😅
Hello there, please read through this post and provide more details. Particularly screenshots of what you have attempted would be very helpful.

I understand that you want to show the expected damage in the skill description. What I don't understand is why it would matter that the enemies use the same skills, since you won't be seeing the enemy selecting the skills. So please clarify what I'm not understanding.
Because I plan that the majority can join the protagonist in some way throughout the adventure being other characters in the party (I know it sounds difficult but my game is adapted to be easy, especially taking into account that the stat scales when leveling up are small up to the max level)

And another reason is because of the philosophy that I have behind this game, I want that through having the same possible abilities (which vary in what type of magic, weapon and accessories to use) for the most part, both player and enemy have the same chances of defeating each other (making the difference the build through accessories, elemental spells and traits that the player has collected from different sources)

Another reason is that the spells mostly have high scaling with the user's stats that if they are not automatically resolved by a script, the player would have to do the calculation themselves to understand the approximate amount of damage it would do, having to divide quantities like "(1 + a.mat * 3/6 + a.mmp * 1/16)"
One last thing is that i just see that the Hakuenstudio plugins doesn't work with gameactor, it has is own way to get actor (\AcPr[ActorId, ParamId]) but it is based on IDs too, so it doesn't matter it couldn't have helped me either. So in the screenshots im using a Chatgpt made plugin that works resolving and showing the formulas in the skill tooltip as i want, but only works for gameactor Ids. Im attaching it too if you want to check it.

The first screenshot is the comparison in what happens if i use one code or the other.
The second is my plugin list.
The last one is the amount of information the spells provide, as you can see it explains how they scale and what type of elemental damage the spells inflict but not the total damage with the current stats.

I have looked for help on this issue by going to many forums, but none of them seem to have exactly my same problem, so I couldn't link to any tutorial or anything I have seen as it said in the support template, so any information, suggestion or recomendation I would greatly appreciate it 🙂🙂
Sorry man, I don’t help people who resort to AI to make plugins, out of principle. Perhaps someone else is willing. Cheers and good luck with your project.
This section doesn’t allow support for AI-generated plugins either way. If OP is looking for alternative solutions, that’s fine of course.

However, the plugin was removed from OP’s post since distributing AI-generated resources is against the rules.

2.5 Do NOT distribute AI-generated resources.

Note: Do not use this section to request assistance in formatting or implementing a plugin poorly made with ChatGPT or another LLM. You may request alternative solutions, but this section is not for repairing or implementing AI output.
I didn't have the slightest idea about that in this forum, and I understand it, I'm not looking for to necessarily have to use this plugin, but maybe another plugin made by a human or some way to achieve what I'm looking for without necessarily having to use some plugin. (I appreciate that you didn't delete the post, thank you very much too!)

Original thread: https://forums.rpgmakerweb.com/threads/a-b-formulas-instead-gameactor-out-of-battle-just-for-tooltips.175618/