changeset 220:96ab088dba30 misc

log2template: Added support for 'kick'.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 08 Aug 2011 12:41:35 +0300
parents d352ae078cbb
children 23d445908f41
files log2template.pl
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/log2template.pl	Mon Aug 08 11:25:24 2011 +0300
+++ b/log2template.pl	Mon Aug 08 12:41:35 2011 +0300
@@ -544,9 +544,12 @@
   elsif ($s =~ /^([A-Za-z][A-Za-z\'\ -]+?) pushes [A-Z][a-z]+ extremely hard\.$/) {
     $skills{$1}{$line} = "push";
   }
-  elsif ($s =~ /^([A-Za-z][A-Za-z\'\ -]+?)\'s (powerful bash sends [A-Z][a-z]+ sprawling to the floor|tries to bash [A-Z][a-z]+ but promptly falls flat on his face)\.$/) {
+  elsif ($s =~ /^([A-Za-z][A-Za-z\'\ -]+?)\'s (powerful bash sends|tries to bash)/) {
     $skills{$1}{$line} = "bash";
   }
+  elsif ($s =~ /^([A-Za-z][A-Za-z\'\ -]+?) (aims a fast kick at|kicks [A-Z][a-z]+ in the groin very hard|swings a foot in a long arc|performs a fast kick)/) {
+    $skills{$1}{$line} = "kick";
+  }
 }