WilliamHughes

Veteran
Veteran
Joined
Feb 9, 2016
Messages
55
Reaction score
7
First Language
English
Primarily Uses
Is it possible to roll dice in the damage formula, or something to the same effect?


I could imitate a d6 roll by making it 3 damage with a 100 variance rate, but that would vary all damage, including any static modifiers I wanted to add. 


I want to be able to roll 1d6 + 3 for example. 
 

Warpmind

Twisted Genius
Veteran
Joined
Mar 13, 2012
Messages
936
Reaction score
579
First Language
Norwegian
Primarily Uses
I recommend you look at this thread -




- for ideas. :) It includes numerous functions, including random numbers etc. :)
 

deilin

Ranger/Elementalist
Veteran
Joined
Mar 13, 2012
Messages
1,190
Reaction score
172
First Language
English
Code:
1+ Math.randomInt(6)
 

Latest Threads

Latest Profile Posts

Made some progress on my game, mostly mapping. Learned quite a bit in the process!.

M6eUoTT.png
16 Hr Video Course on MZ? Huge DLC Pack from MZ's RTP Artist | RPG Maker News #110

I spent the past couple of days transferring my RM2K3 project over to RMMV. I upscaled everything 3x and it looks so cute I can't T_T
Small update on my random sprites sheet :kaoswt2:
cfcQKj8.png


Here's Azrael sprite with the fire weapon, hope it came out good.

Forum statistics

Threads
113,764
Messages
1,077,290
Members
147,802
Latest member
ariel638
Top