# calculation

1. ### [JS] scripts for controlling variables via calculation

Hello everyone, I am a new RPGmaker user with basic JS knowledge for web design, I'd need to learn how to get and set game variables and how to alter them via calculation. The specific situation here is an in-game clock mechanic (based on steps, NOT on playtime) I'm trying to get to work: once...
2. ### How to use variables in Calculations

Hello all, I've used RPG Maker VX and MV in the past through a friend of mine, this will be the first time I'm using it at my own work station (with the intent to eventually publish my ideas). I'm writing a script right now where the main character is at a University, and is being tested on...
3. ### Using Math.floor on All Damage Formulas

I checked out this thread earlier today: https://rpgmakermv.co/threads/damage-formulas-101-mv-edition.2172/ My game uses low damage numbers, and after a bit of testing, I found out that any decimal .5 or over rounds damage values up, while I want all non-whole numbers to round down. Damage...
4. ### Enemy Value Calculations

Alright, I decided to make own thread for this since it is a bit more specific... since I want to use Yanfly's Free Turn Battle for my game, the battles are like in pokemon games with rounds. now I want to set up my enemies values like maxhp, maxmp, atk and so on when the player first...
5. ### Hit % Calculation Confusion

Hello, I am having diffuculty understanding the "Hit Calculations" or formula in VX Ace. My Character's EX-Param"Hit" is set to 95% and I noticed that my entire party would miss (not evade) almost every single attack. I Searched the forums and googled like crazy and all I could find was...
6. ### Mass average calculation

I need to calculate the average of 190 variables. Is there any way to do this efficiently with a script call? Unfortunately, they're not all in a row, if that makes a difference. As a test, I tried assigning a range to a variable, but I got the error "Array can't be coerced into Fixnum," so...

### Latest Profile Posts

How you feel about font and dialogue box changing for every main character while the minor cast and regular npc get their own styles? Too much?
Just found an obviously custom effect (i.e. edited by me) in my resources>sounds folder called "rip jaw off". Dear Lord what is wrong with me as a person that at some point I needed a sound *specifically* for THAT??
(...rhetorical question.)
so like with the whole 'familiarity breeds contempt thingy', how are you supposed to tell if your title screen/battle music gets really tedious after a few dozen plays or if you're just personally hella sick of it?
YAY!!! My third help Guide STEAM integration in MV (High performance) has been posted!

Both the polls for the 3rd Original Character Contest ended with 5th place ties! So let's break those ties. Vote now for your favorite of the ones tied!