I have read your doc and I'm not sure that's what we want; let me give you a complete example of what we want. I am an 8th level cleric with 50 PF and 16 WIS, a 7DV large monster critically hits me. First we have to see where I have been hit, so we roll d100, let's say we get 13, we check on a table and 13 it's head but head can either be face or skull; so we roll 1d10 and get 8, 8 it's face. After we check the severity of the hit, so we roll 1d100 (or two if I have a particular ability, we need to ask the user) and get 33 as a base result. Then we do a WIS check, rolling a d20 we get 11, so 16(WIS Value) - 11 = 5. We have a bonus of 5, from 33 we go down to 28. The monster is large tough so we get a malus of 5, from 28 we go up to 33 again. Now let's say that after another couple of operation and check we get 21 as our final number, 21 it's a light critical hit. We then go to a table named Head|Face and check what a light critical hit on the face does. Now we do all of this manually, but it takes a LOT of time and we are searching for ways to hasten the process! Sorry for the really long and complicate post, and thanks anyway for all the reply and suggestion you are giving us!