* and a number?

even after reading Skunks breakdown on how the formula is supposed to work I still have no idea what "* 2" means.

I get that in "a.atk * 4" the first a is the attacker, and atk means their attack rating, but that * 4 at the end... What is that?
* is the standard symbol for multiplication. So anywhere you see that, it means to multiply.
"*" means multiple so a.atk * 4 means the user's attack stat multiple by 4.
"*" means multiple so a.atk * 4 means the user's attack stat multiple by 4.
Ahhh ok. TYVM.
So here the operators:
+ (addition)
- (subtraction)
* (multiplication)
/ (division)
% (modulus)

Other mathematical functions:
Math.pow(base, exponent): For exponent
Math.sqrt(base): For square
Another formula you can use is: Math.randomInt(x) + 1
This gives you a random number from 1 to whatever you use for 'x'.
Oh, cool. thanks.

Original thread: https://forums.rpgmakerweb.com/threads/and-a-number.103279/