# HG changeset patch # User Matti Hamalainen # Date 1270830766 0 # Node ID 6483aa47f2973c20fd7b898ea3dea61e407c5195 # Parent 54e33015ba7ca82535479be8dfb95d9e0f7e4311 Oops, some blasts got counted twice. diff -r 54e33015ba7c -r 6483aa47f297 magestats.pl --- 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 = )) { - 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"}++;