I recently bought the program and have been fiddling with the options here and there. I've also browsed these forums, but I can't seem to find anything that matches what I'm looking for. What I'd like to try and do is create character stats that are liken to die rolls (d4/d6/d8/d10/d12... etc) and use those die rolls to determine results. Is there any way to set that up?
Dumb question about character stats
RPG Maker MV SupportFor basic parameters (max HP, max MP, atk, def, mat, mdf, agi, luk), you can use variables. E.g. for a typical PnP "stat check" kind of thing:
Obviously you can include a difficulty modifier (±X to check), extra branches (close miss), etc in there too~
If you were thinking about the damage formula, you may find this handy:
This will produce a random integer from 1 to 20 inclusive, i.e. a simulated d20. For a different range, just change the number in brackets. In case you're interested, more damage formula tips can be found here: Damage Formulas 101. 🙂
Code:
◆Comment: --- Get stat ---
◆Control Variables:#0001 check = Attack of Harold
◆Comment: --- Subtract roll ---
◆Control Variables:#0001 check -= Random 1..20
◆Comment: --- Check result ---
◆If:check ≥ 0
◆Text:None, Window, Bottom
: :Success!
◆
:Else
◆Text:None, Window, Bottom
: :Fail.
◆
:End
If you were thinking about the damage formula, you may find this handy:
Code:
Math.randomInt(20) + 1
Original thread: https://forums.rpgmakerweb.com/threads/dumb-question-about-character-stats.110423/