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
937
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

so... I decided since a park was an area in my game... here's an enemy that's slide with a hand behind it. cause why not.
Hot chocolate and music make studying and note-taking much easier :kaoluv:
Until my hand cramps up from writing too much!
Doing RPG Maker News for 21st September 2021


Malak is still waiting for Dark Deception Chapter 4... This was him yesterday after another sugar crash.
Again, he's fine. He's just bored at this point, considering he's exhausted his entire vacation bucket list.
Am I the only one who files custom resources under specific folders to remember who to credit? :kaoswt2:
1632263519730.png

Forum statistics

Threads
115,269
Messages
1,088,475
Members
149,873
Latest member
DeadlightBC
Top