melee percentages
Posted: Thu Nov 07, 2013 4:51 pm
Sorry if this is not the proper forum (technical stuff).
I wanted to know how much my character improved the attacks when he went from M:100 D:100 to M:160 D:100 so I made a little command line tool (to explore all possible combinations):
$ melee M:100 D:100
4950 hits (49.500%), 5050 misses (50.500%), 10000 total
$ melee M:160 D:100
10950 hits (68.438%), 5050 misses (31.562%), 16000 total
It is an approximation because I don't know how clok works exactly. But useful anyway.
Here it is: https://github.com/daniel-fanjul-alcuten/melee.
It is written in go, so you will need a go compiler if you want to try it: http://golang.org/doc/install
I wanted to know how much my character improved the attacks when he went from M:100 D:100 to M:160 D:100 so I made a little command line tool (to explore all possible combinations):
$ melee M:100 D:100
4950 hits (49.500%), 5050 misses (50.500%), 10000 total
$ melee M:160 D:100
10950 hits (68.438%), 5050 misses (31.562%), 16000 total
It is an approximation because I don't know how clok works exactly. But useful anyway.
Here it is: https://github.com/daniel-fanjul-alcuten/melee.
It is written in go, so you will need a go compiler if you want to try it: http://golang.org/doc/install