Hello,
I just started making my own game and I am trying to use a damage formula that I made, but it seems a little complicated mathematically for RPG Maker.
I downloaded Yanfly's Damage Core to use my own formula. I am not 100% sure that I am using the plug in correctly. I have turn on the plug in as well as loaded YEP_CoreEngine and YEP_CoreEngineCore.
As far as I can tell, I go to the skills tab, and on the notes section at the bottom right, I type
<damage formula>
my formula
</damage formula>
I've got it work for simple formula, but I can't quite figure out what mathematical notation is needed.
One of my main concerns is that I cannot figure out how to use exponents. For example, a.atk^2 is a simple version of what I want to do which can be written as a.atk*a.atk. But, my formula has an exponent of 3 and 2, so it would be cumbersome to have to write it all out.
I wrote my formula into excel, so I know what damage should result based on my str and enemy def, but when I write the whole formula into the note section, the numbers come out to be way higher than they should. I am assuming this is due to notation differences.
I just started making my own game and I am trying to use a damage formula that I made, but it seems a little complicated mathematically for RPG Maker.
I downloaded Yanfly's Damage Core to use my own formula. I am not 100% sure that I am using the plug in correctly. I have turn on the plug in as well as loaded YEP_CoreEngine and YEP_CoreEngineCore.
As far as I can tell, I go to the skills tab, and on the notes section at the bottom right, I type
<damage formula>
my formula
</damage formula>
I've got it work for simple formula, but I can't quite figure out what mathematical notation is needed.
One of my main concerns is that I cannot figure out how to use exponents. For example, a.atk^2 is a simple version of what I want to do which can be written as a.atk*a.atk. But, my formula has an exponent of 3 and 2, so it would be cumbersome to have to write it all out.
I wrote my formula into excel, so I know what damage should result based on my str and enemy def, but when I write the whole formula into the note section, the numbers come out to be way higher than they should. I am assuming this is due to notation differences.