Heyo!
-Edit-
Solved it! Shared my answer in a reply below just in case anyone else was curious.
-end of edit-
I'm making a Throw script FFIX style at the moment (and it's coming along really nicely), but I'm now on the part of the script where I want to be able to mess around with the damage formula of the Throw skill itself.
So, that brings me to my question...
I've never really dabbled in Damage Formulas before, honestly I feel like there's a whole world of code out there that you can do in the formula section of the skill in the Database that I'm unaware of...
But what I'm trying to do is: make it so I can have different methods in my Script Editor do different things to one particular skill's Damage Formula.
Let's look at the default Attack skill for example.
In the database it looks like this:
So I was wondering...
(For example) Is there a way I can write a method in the Script Editor to change that a.atk * 4 into a 5 based on an if statement or some other condition?
I realise this is probably pretty simple stuff (there's no way you can only access/edit a skill's damage formula through the database right?), but it's stumping me a bit so any quick tips or small examples would be very much appreciated.
Thanks all!
- The Sarah
-Edit-
Solved it! Shared my answer in a reply below just in case anyone else was curious.
-end of edit-
I'm making a Throw script FFIX style at the moment (and it's coming along really nicely), but I'm now on the part of the script where I want to be able to mess around with the damage formula of the Throw skill itself.
So, that brings me to my question...
I've never really dabbled in Damage Formulas before, honestly I feel like there's a whole world of code out there that you can do in the formula section of the skill in the Database that I'm unaware of...
But what I'm trying to do is: make it so I can have different methods in my Script Editor do different things to one particular skill's Damage Formula.
Let's look at the default Attack skill for example.
In the database it looks like this:
So I was wondering...
(For example) Is there a way I can write a method in the Script Editor to change that a.atk * 4 into a 5 based on an if statement or some other condition?
I realise this is probably pretty simple stuff (there's no way you can only access/edit a skill's damage formula through the database right?), but it's stumping me a bit so any quick tips or small examples would be very much appreciated.
Thanks all!
- The Sarah