I think your quickness you could rename to the D&D "To hit"
Unfortunately, the function that computes this is used for many
other things. "To not be hit", etc. In this context, we could
certainly say that "to-hit = quickness". But one should be careful
not to confuse matters with many names for the same calculation.
I will wait until you are rather sure you know what is happening before
renaming things.
can you precise on what some of this trace code is telling us?
Good grief, no! If I knew what was going on then I would never have
produced this ugly trace with the unnamed functions and variables. The
purpose of the trace was to give someone (perhaps a graduate student
with a year on his hands) some hope of deciphering the code. If I were
to attempt this I would examine the trace along with the diagram I have
drawn along with the code itself. Try to make some sense out of some
small part of it. Comment the code a little better. Change a variable
name to something more informative. Redraw part of the diagram.
Improve one of the traces. Add a new trace. If doing these things seems
to have helped with your understanding then adopt the changes and start
over in the hope that something else can be improved/documented.
would realy like to know which line is saying "do this damage to the monster that was hit"
Indeed. When you find it and decipher it we will all be interested in your
astute analysis.
And what does it mean
I hope you are not asking me! I never figured it out. I like to think that
this is because I am lazy rather than that it is beyond my comprehension.