Hey guys!
Well, I was wondering if there is some sort of abbreviation possibility built into RPG Maker MV as fas as custom formulas are concerned. Do I really have to use Math.whatever(x) all the time when using the .max/.min methods or Math.floor or exponents (Math.pow)? Or is there maybe even a way in JavaScript itself to make this shorter? For example, I tried x**y instead of Math.pow(x,y), which didn't seem to work.
Well, I was wondering if there is some sort of abbreviation possibility built into RPG Maker MV as fas as custom formulas are concerned. Do I really have to use Math.whatever(x) all the time when using the .max/.min methods or Math.floor or exponents (Math.pow)? Or is there maybe even a way in JavaScript itself to make this shorter? For example, I tried x**y instead of Math.pow(x,y), which didn't seem to work.