- Joined
- Aug 2, 2017
- Messages
- 20
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
I'm just going to preface this with a warning that I'm pretty newb at JS (and any scripting, really).
So, I've set up (outside the plugin, in the class sheets) that each class' MHP at level one is equal to 2x their DEF parameter. My plan is for each actor's (each of whom has one class, and vice-versa) MHP growth per level to be equal to .5x their DEF at level one, regardless of their DEF growth (each actor/class will get +1 to all their parameters aside from MHP and MMP each level). This is easy to do with the vanilla program. However, I set the player character's parameters (aside from MHP and MMP) to 12 - the average - and plan to give them many events that allow them to increase a parameter (again, aside from MHP and MMP... I'll announce if/when 'parameters' does include them, rather than continue to say this) of their choice by one. I'm going to treat this with DEF as if the boost is being applied all the way retroactively to their base level 1 DEF, so each point in DEF equates to +2 MHP (also easy to do in the same event that gives the +1 DEF). However, this also means that I want to change their growth per level retroactively and proactively as well, i.e. if the player takes DEF for the second time at level 3, they'll have a total 'bonus' of +4 from flat MHP boosts, as well as +2 from the two level ups they'd have taken. This also means when the level up next, they'll gain +7 instead of +6.
I don't even want to think about how convoluted scripting this into events would be. But I'm using YanFly's BaseParamControl plugin, which allows the insertion of a custom formula. All I need is someone with more knowledge of how to combine things like user.isActor and user.def and such to make it so that MHP increases at 1/2 the user's level 1 DEF value every level (so if the PC doesn't take DEF ever, even at level 6, when they'll have 17 DEF, leveling up to 7 only gives them +6 MHP). If you can go further and make it so that it follows everything I've detailed out before so that I don't even need to add the +2 to every DEF boost (or manually set it for every actor/class), that'd be great too. I'd like for it to just effect actors, since I'd prefer manual control of enemy MHP. And, if at the end, you can help me understand what piece of script causes what effect, I'd be about as happy as could be (the 'for Dummies' on JavaScript is much more about making web pages do what you want, not manipulating complex game mechanics, so it hasn't been helpful thus far).
Thank you in advance!
So, I've set up (outside the plugin, in the class sheets) that each class' MHP at level one is equal to 2x their DEF parameter. My plan is for each actor's (each of whom has one class, and vice-versa) MHP growth per level to be equal to .5x their DEF at level one, regardless of their DEF growth (each actor/class will get +1 to all their parameters aside from MHP and MMP each level). This is easy to do with the vanilla program. However, I set the player character's parameters (aside from MHP and MMP) to 12 - the average - and plan to give them many events that allow them to increase a parameter (again, aside from MHP and MMP... I'll announce if/when 'parameters' does include them, rather than continue to say this) of their choice by one. I'm going to treat this with DEF as if the boost is being applied all the way retroactively to their base level 1 DEF, so each point in DEF equates to +2 MHP (also easy to do in the same event that gives the +1 DEF). However, this also means that I want to change their growth per level retroactively and proactively as well, i.e. if the player takes DEF for the second time at level 3, they'll have a total 'bonus' of +4 from flat MHP boosts, as well as +2 from the two level ups they'd have taken. This also means when the level up next, they'll gain +7 instead of +6.
I don't even want to think about how convoluted scripting this into events would be. But I'm using YanFly's BaseParamControl plugin, which allows the insertion of a custom formula. All I need is someone with more knowledge of how to combine things like user.isActor and user.def and such to make it so that MHP increases at 1/2 the user's level 1 DEF value every level (so if the PC doesn't take DEF ever, even at level 6, when they'll have 17 DEF, leveling up to 7 only gives them +6 MHP). If you can go further and make it so that it follows everything I've detailed out before so that I don't even need to add the +2 to every DEF boost (or manually set it for every actor/class), that'd be great too. I'd like for it to just effect actors, since I'd prefer manual control of enemy MHP. And, if at the end, you can help me understand what piece of script causes what effect, I'd be about as happy as could be (the 'for Dummies' on JavaScript is much more about making web pages do what you want, not manipulating complex game mechanics, so it hasn't been helpful thus far).
Thank you in advance!

