At any rate, it is now here should anyone have a reason to use it.
You can probably remove the
Code:
if (strVal < 2) then
damage = "2d4-2"
and replace the first elseif with an if. I had put that in because I could have sworn I have seen an attribute at d4 in some of the settings. Shaintar comes to mind. I cannot recall off-hand if there is a d4-2 in the actual framework of HL, but if so it would be a rating of 1.