Heyo!
-Edit-
Solved thanks to help from TheoAllen. Thanks to everyone for all the tips and thoughts. Thread is now being closed.
-End of Edit-
So I was toying around trying to find a way to alter damage formulas via the Script Editor and ended on this answer:
(original thread here: https://forums.rpgmakerweb.com/inde...ipt-editor-vx-ace-solved.124909/#post-1099549 )
But, since then, I've been struggling to find a way to make a skill multiply the original skill damage formula by X when conditions are met (like a standard if statement checking the Regular Expression of a Notebox area for example).
Add on top of that, that I got these messages on me profile:
And I'm beginning to think maybe my original solution wasn't ideal after all.
So!
If anyone's got any tips on the subject or advice on how to multiply the result of a damage formula via the Script Editor (without needing to then edit the formula section of the skill in the Database) then by all means share.
I've tried a LOT of variations on my original solution, but what it basically boils down to is I don't know how to get this kind of code: item.damage.formula * 100
To provide the result of the damage formula's result * 100 (instead of just making the game run the original formula 100 times like that example does).
I've tried messing around with .eval and .result but neither of those worked for me.
And that's that!
I'll leave this thread open for a while after any seeming solutions are found this time, just in case anyone wants to add anything again.
All the best,
- The_Sarah
-Edit-
Solved thanks to help from TheoAllen. Thanks to everyone for all the tips and thoughts. Thread is now being closed.
-End of Edit-
So I was toying around trying to find a way to alter damage formulas via the Script Editor and ended on this answer:
(original thread here: https://forums.rpgmakerweb.com/inde...ipt-editor-vx-ace-solved.124909/#post-1099549 )
But, since then, I've been struggling to find a way to make a skill multiply the original skill damage formula by X when conditions are met (like a standard if statement checking the Regular Expression of a Notebox area for example).
Add on top of that, that I got these messages on me profile:
And I'm beginning to think maybe my original solution wasn't ideal after all.
So!
If anyone's got any tips on the subject or advice on how to multiply the result of a damage formula via the Script Editor (without needing to then edit the formula section of the skill in the Database) then by all means share.
I've tried a LOT of variations on my original solution, but what it basically boils down to is I don't know how to get this kind of code: item.damage.formula * 100
To provide the result of the damage formula's result * 100 (instead of just making the game run the original formula 100 times like that example does).
I've tried messing around with .eval and .result but neither of those worked for me.
And that's that!
I'll leave this thread open for a while after any seeming solutions are found this time, just in case anyone wants to add anything again.
All the best,
- The_Sarah