Just going to use normal version for now. I may tackle the condensed later on, but not for now.
I just want to track the number of hits that land in a round and add that to the corresponding variable. Like 4 hits land so the 'fourhits' variable get incremented by 1. If 6 hits land in a round, then the 'sixhits' would have 1 added to it.
So after a bunch of data collection I might have this data:
singlehits = 29
twohits = 35
threehits = 78
fourhits = 88
...etc...
Here is the trigger pattern I'm using. The part that is confusing me is how to relate what this trigger pattern is capturing to the number of times it sees that pattern in a round. Like SoulSpirit stated, I think I need a trigger to 'reset' the round, like the blank line he suggested.
^Your (?:massive|mighty|powerful|awesome) (?:slash|bludgeon) (?:barely|slightly|severely|badly) wounds .+\.$
Using the mud condensed mode it displays hits like this...
"You attack A burly bouncer, landing five hits."
Then I...
fiveattacks = fiveattacks + 1
So it keeps a running tally of how many 'five-hit' rounds I had. The problem with this is there are some items in the game that proc extra attacks, and they don't get displayed in the condensed format (...landing XXXX hits.). They get displayed normally, so I'm not collecting that data.
Here is another snippet of two rounds of attack...
< 600h/600H 127v/127V |ss +|ap +|ev +|ts +|bs 1| |3|1|2|1|2| T: Vokuran TC: excellent E: bouncer EC:
small wounds EP: std P: std >
Your mighty slash barely wounds A burly bouncer.
Your massive slash barely wounds A burly bouncer.
Your powerful slash barely wounds A burly bouncer.
Your massive slash barely wounds A burly bouncer.
Your massive slash barely wounds A burly bouncer.
A burly bouncer misses you with his hit.
A burly bouncer misses you with his hit.
< 600h/600H 127v/127V |ss +|ap +|ev +|ts +|bs 1| |3|1|2|1|2| T: Vokuran TC: excellent E: bouncer EC:
small wounds EP: std P: std >
Your icy casing melts.
< 600h/600H 127v/127V |ss +|ap +|ev +|ts +|bs +| |3|1|2|1|2| T: Vokuran TC: excellent E: bouncer EC:
small wounds EP: std P: std >
Your awesome slash barely wounds A burly bouncer.
Your massive slash barely wounds A burly bouncer.
You miss A burly bouncer with your slash.
Your massive slash barely wounds A burly bouncer.
A burly bouncer misses you with his hit.
A burly bouncer misses you with his hit.
< 600h/600H 127v/127V |ss +|ap +|ev +|ts +|bs +| |3|1|2|1|2| T: Vokuran TC: excellent E: bouncer EC:
small wounds EP: std P: std >
So the first round I landed 5 hits, and landed 3 hits in the second round. So I would need to 'reset' the round, collect the 5 hits and add 1 to the fivehits variable, reset the round 'counter', collect the 3 hits in the 2nd round and add 1 to the 'threehits' variable, reset the round counter and so on.