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.
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.