Author Topic: Dmg roll simulator  (Read 1066 times)

Offline TheCurse

  • Colonel
  • ****
  • Posts: 334
    • View Profile
Dmg roll simulator
« on: March 06, 2022, 08:57:09 pm »
So, akin to the weapon sim, here is a dmg roll simulator.

https://github.com/t3chn0l0g1c/oxceRolls

it takes your parameters and calculates the exact chance how much dmg might be done to the target (updates instantly),
and hitting the button calculates how many shots it takes to kill.
the hit chance is real %, not the 109% max OXCE uses.

(as the number of calculations is up to "number of possibilities" to the power of "depth", you unfortunately cannot calculate that for e.g. depth 1000 in your lifetime...)
the tool recommends a search depth (=number of shots) based on the other parameters.
however that is tuned to a nice 16core machine, so if you have a weaker machine and don't want to wait (seconds to minutes), lower that value.
(multithreaded, but uses all cores but one)