- Joined
- Feb 19, 2015
- Messages
- 27
- Reaction score
- 1
- First Language
- English
Good evening,
In terms of writing a damage formula, how do you set the value of an EX-Parameter, if at all possible? I am looking to change an xparam value of an actor to be inversely proportionate to their HP (in this case, CRI) when a status effect is active, and I can't seem to find a JavaScript code to set the equal to a formula.
I'm looking to do something like this:
user.cri = (1 / (user.hp/user.mhp))
**I know this is not proper JavaScript, but just to give you an idea of what I'm looking for.
I am currently using YEP.50 - Buff and States Core, YEP.69 - Extra Parameter Formulas, and YEP.12 - Auto Passive States.
Thank you for your time.
In terms of writing a damage formula, how do you set the value of an EX-Parameter, if at all possible? I am looking to change an xparam value of an actor to be inversely proportionate to their HP (in this case, CRI) when a status effect is active, and I can't seem to find a JavaScript code to set the equal to a formula.
I'm looking to do something like this:
user.cri = (1 / (user.hp/user.mhp))
**I know this is not proper JavaScript, but just to give you an idea of what I'm looking for.
I am currently using YEP.50 - Buff and States Core, YEP.69 - Extra Parameter Formulas, and YEP.12 - Auto Passive States.
Thank you for your time.
Last edited:


