melee percentages

Discussion of different MUD clients, plugins, etc. as well as technical help.
Post Reply
Hujiko
Member
Posts: 13
Joined: Sat Nov 02, 2013 7:07 am

melee percentages

Post by Hujiko »

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
Post Reply

Return to “Technical Stuff”