Mercurial > hg > batmud > misc
changeset 74:6483aa47f297 misc
Oops, some blasts got counted twice.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 09 Apr 2010 16:32:46 +0000 |
parents | 54e33015ba7c |
children | c4bb202b5cc4 |
files | magestats.pl |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/magestats.pl Fri Apr 09 16:16:01 2010 +0000 +++ b/magestats.pl Fri Apr 09 16:32:46 2010 +0000 @@ -145,9 +145,7 @@ } else { mlog(1, "Parsing log from stdin..."); while (defined(my $s = <STDIN>)) { - if ($s =~ /^You watch with selfpride as your ($match) hits / || - $s =~ /^You hit .+ with your ($match)\.$/ || - $s =~ /^Your ($match) hits /) { + if ($s =~ /^You watch with selfpride as your ($match) hits / || $s =~ /^You hit .+ with your ($match)\.$/) { $last_spell = $1; $spells->{$last_spell}{"blasts"}++;