Jump to content
  • 0

Why is my damage not random?


Pigot

Question

Hey!

 

How to put a random damage between a number? For example: My damage is 10, the hit would be 7 or 8, 9, and 10 (Not always 10 at all hit)

I hope you understood, and sorry for my bad English.

 

Thanks! :D

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Assuming physical/magical damage and that you are using default formulas.xml

 

I believe your damage values are too small for the randomization to matter. If you plug everything in I bet you get a range between 9.6 and 10.4 which both round to 10.

 

 

You can change the formulas.xml file if you want a different formula with greater randomization.

 

 

Link to comment
Share on other sites

  • 0
5 hours ago, jcsnider said:

Assuming physical/magical damage and that you are using default formulas.xml

 

I believe your damage values are too small for the randomization to matter. If you plug everything in I bet you get a range between 9.6 and 10.4 which both round to 10.

 

 

You can change the formulas.xml file if you want a different formula with greater randomization.

 

 

I already edited the formulas, but I really do not know how to improve de randomization

Link to comment
Share on other sites

×
×
  • Create New...