Issue with Yanfly Skill Core Plugin

Hello everyone.

I found some strange problem in skill's note-tag working, with yanfly skill core plugin.

Case: before eval, pre-damage eval, post-damage eval, after eval... etc.
Problem: cannot calculate with variables.



<damage formula>
if (target._customC > 0) {
value += 50 * target._customC;
} else {
value += 1;}

</damage formula>

<after eval>
target._customC += 1;
</after eval>


But it doesn't work... only keep damage 1.
I found any operator doesn't work also. Only ' = ' works but '+', '-', '/', '*' do not work.

Plz help me for this problem.
Did you define the variable target._customC? If the variable is not defined, no operations are going to work on it.
Just define target._customC in <damage formula> first:
Code:
target._customC = target._customC || 0
if (target._customC > 0) {
value += 50 * target._customC;
} else {
value += 1;}

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-yanfly-skill-core-plugin.80072/