MZ help with VisuStella MZ's Battle Core- Custom damage formula not working

Hi,
I can set up action sequences for skills, but I can't use the custom damage formula...
If I make an action sequence that adds a state to the target, it works. But if I make an action sequence that deals custom damage formula, it won't work.

Spoiler
1752883682332.png
This is my common skill that I've been using as a test. As you can see, it has a Custom Action Sequence that starts the common events. Thelema Increase and Mortality Bleed work just fine. I can cast this skill just fine in game, as this skill is available to the actor.

Spoiler
1752884180885.png
This is a "secondary" skill called Time Shards. It cannot be casted normally as the player doesn't have access to it, only when another skill that have the common event Hit Processing is casted.

Spoiler
1752884084913.png
My problem is here, on the Hit Processing common event. This action sequence first do it's damage normally using the default formula that I've adapted on the plugin itself.
Then, it does some checks to see if he should cast Time Shards a few times. It indeed casts the first instance of the Common Skill and then the two instances of Time Shard as I've expected. But no matter what Formula I use for the Emulate Skill Effect of Time Shards, it just always stays the default formula I've set on the plugin parameters.

Any idea of what it could be? I was relying on the fact I could use custom damage formulas for these "second casting" skills...

Thanks!
I didn't read all that, but the custom damage formula plugin command changes the current action formula. But I think you can just change them how you like with (you can save the original formula to a game variable and then just set the formula back to the original (with the variable) after you've done the action:

$dataSkills[skillId].damage.formula = "custom formula";
I didn't read all that, but the custom damage formula plugin command changes the current action formula. But I think you can just change them how you like with (you can save the original formula to a game variable and then just set the formula back to the original (with the variable) after you've done the action:

$dataSkills[skillId].damage.formula = "custom formula";
I'm sorry, I really don't get what you mean neither where I should use this code you've sent...
I'm trying to change the damage formula on an specific Custom Action Sequence but it just won't change at all no matter what I put in there. The problem isn't it not being reset back to the original, it's just the plugin command Custom Damage Formula not working with anything I write there :/
Like I said I think the custom damage formula only changes the current action formula.

I meant to change your other skill's damage formula, put that code in a script box in your action sequence (before using the emulate skill). Replace 'skillId' with the id of the skill and 'custom formula' with your formula (leave the quotation marks). EDIT: And replace 'x' with your variable id.

But save the original formula first and then after the 'emulate skill effect' stuff, return the damage formula to the original.

$gameVariables.setValue(x, $dataSkills[skillId].damage.formula);
$dataSkills[skillId].damage.formula = "custom formula";

EMULATE SKILL EFFECT

$dataSkills[skillId].damage.formula = $gameVariables.value(x);
Like I said I think the custom damage formula only changes the current action formula.

I meant to change your other skill's damage formula, put that code in a script box in your action sequence (before using the emulate skill). Replace 'skillId' with the id of the skill and 'custom formula' with your formula (leave the quotation marks). EDIT: And replace 'x' with your variable id.

But save the original formula first and then after the 'emulate skill effect' stuff, return the damage formula to the original.

$gameVariables.setValue(x, $dataSkills[skillId].damage.formula);
$dataSkills[skillId].damage.formula = "custom formula";

EMULATE SKILL EFFECT

$dataSkills[skillId].damage.formula = $gameVariables.value(x);
Still not working... It's like I can't overwrite the damage formula set by the plugin.
By the way, the damage formula I'm using isn't on the skills like by default on the database, I'm using an overall formula on the Battle Core plugin, not sure if it matters.

Spoiler
1752972959038.png

But the Damage Styles is set on Manual on this same plugin, so I thought I should be able to manipulate it whenever the overall formula isn't necesssary.
const baseValue = this.evalDamageFormula(target);

This line was missing on my Overall Formula, so that's why no other formula was being applied at all!
This thread can be closed, thanks for your time 🙂

Original thread: https://forums.rpgmakerweb.com/threads/help-with-visustella-mzs-battle-core-custom-damage-formula-not-working.179011/