So I know a tiny bit about Javascript, but not much. I have Yanfly's damage core plugin, and I can add in-game functions, but having trouble just making my own simple functions to work.
function Test(a, 😎 {
return a-b;
}
So this is just a simple example. How do I get this to work? I did value = Test(a.atk,b.def);
Am I missing something totally obvious? This works fine when I write it out the formula in the notes area or formula box, but when I am trying to call my own function I get nothing.
function Test(a, 😎 {
return a-b;
}
So this is just a simple example. How do I get this to work? I did value = Test(a.atk,b.def);
Am I missing something totally obvious? This works fine when I write it out the formula in the notes area or formula box, but when I am trying to call my own function I get nothing.