MV Timed Attack core Problem

Hey there,
I'm using SumRndmDde's Plugin Timed attack core in which a graphic and a cursor is used to determine the power of an attack depending on the timing of your press. The plugin works fine with installation and calculations and such but I seem to have some problem with the damage calculation depending on whether the player presses the button or not.

The problem:
On the description and tutorial of the plugin it shows that the power of an attack is determined by how close to the middle of the Graphic bar the cursor is at. But in reality the attacks are more powerful when the cursor is pressed at the edges of the graphic bar and weaker when pressed in the middle. I'm okay with that, I found a workaround but I would like to know why this occurs.

My main Problem is that if no button is pressed the damage calculation seems to be maxed out rendering my timed attack function useless since a player can just let it run out and get a max calculation in damage. I cannot find why this is happening. I have left all settings of the plugin on default.

Some background, there is no other battle plugin that seems to interfere with it, I only have Yanflys battlecore up and moved some window elements around using SRD's HuD plugin. I also have not touched the calculations or formulas.

Much appreciated for your time.

Edit: The plugin tutorial says use this in dmg formula

(a.atk * 4 - b.def * 2) * ($gameTemp.tas_power) as an example.
It seems in my damage formula i have added the ($gameTemp.tas_power) without it being in a parenthesis. Could this be the reason why the dmg calculation is acting up?
No, those parentheses don't do anything.

But what is your formula? It's pretty impossible to tell you what might be doing wrong if we can't see what you have 😛
Thanks for answering!
I Didn't include my formula because it was the basic one.
So basically what is on the example Formula:
a.atk * 4 - b.def * 2 * $gameTemp.tas_power with the basic 20% variance. Basically fresh out of the box

I will be able to provide screens later tonight if those are needed.
I
Thanks for answering!
I Didn't include my formula because it was the basic one.
So basically what is on the example Formula:
a.atk * 4 - b.def * 2 * $gameTemp.tas_power with the basic 20% variance. Basically fresh out of the box

I will be able to provide screens later tonight if those are needed.
I think the problem is because it is multiplying the target's defense statistic, rendering the caster's move weaker when the action command is executed better.
A way to fix this is to just put the formula in parentheses.
Like this:
(a.atk * 4 - b.def * 2) * $gameTemp.tas_power
A way to fix this is to just put the formula in parentheses.
Like this:
(a.atk * 4 - b.def * 2) * $gameTemp.tas_power
Ah so the parenthesis probably do something then. (my math is really bad but I had a hunch this might be it) Because I forgot to implement them.

I will test this when I'm home and I'll return with the findings!
Yay! that was it. By not including the paranthesis the formula was going jank.
Thanks for the help. Problem solved
Yay! that was it. By not including the paranthesis the formula was going jank.
Thanks for the help. Problem solved
Nice! I'm happy i could help!

Original thread: https://forums.rpgmakerweb.com/threads/timed-attack-core-problem.149013/