![]() |
|
#11
|
||||
|
Quote:
int index = std::max(0, (atk_roll - def_roll) + (avg / 2)) is going to be normally distributed. However, rounding all the outputs up is going to skew it slightly rightward. Also skewed higher than the expected cluster around 10 with 2d10 by the addition of avg/2 to roll difference. Evidence: [You must be logged in to view images. Log in or Register.] I believe the reason Mr. Turtle isn't normally distributed is because of this: auto atk_roll = zone->random.Roll0(offense + 5); auto def_roll = zone->random.Roll0(mitigation + 5); int avg = (offense + mitigation + 10) / 2; The modifiers on your hits are overwhelming the modifiers on his defense, producing consistently high outputs. The fact that mitigation is added to offense tells me the calculation for mitigation might result in a negative value or it is modified in some other way before final result. | |||
|
Last edited by Lune; 08-15-2023 at 01:11 PM..
| ||||
|
|