Awesome topic. Made me subscribe here right away to see what else I could learn ^^
I have a pen&paper rpg I wanted to translate into a rpg maker project. I have used older rpg maker versions in the past and am just learning VX ace (although I might wait just a short while for MV), so the scripting, mostly, and some other features like these fomulae are quite new to me.
I've concocted this today thanks to this topic:
if v[4900] == 20; a.mat * 2; else; if v[4900] * 10 + a.atk >= b.def; a.mat; else; 0 ; end; end;
I've set this to be the first attack (the one taken as normal attacks) and added a common event that is called straight after the attack is done to reroll the variable.
As you can see it has a crit function that causes to deal double damage, but I'm having trouble with a fumble function I would want to put in. When a 1 is rolled (before calculations) something 'bad' must happen. Like attacking yourself or an ally or something. Preferably something random. Anyone any ideas how to do that?
Another problem I found is the determination of attack order/speed. I think it's set off on AGI as I see differences when I play with that. Is there a way to change that too without having to go into heavy scripting?
Furthermore I'd like to hear feedback wether this is the best way to work to what I want or maybe there are even easier ways to do this.
Note: the '* 10' in the formula is with a reason, so not a mistake
😉