From 1645f2920350986aa64005704a841006a402f318 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sat, 6 Oct 2018 09:49:32 +0200 Subject: [PATCH] Stats are using EMP insted of Emp --- scripts/stats.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/stats.pl b/scripts/stats.pl index 6e9c850..432a510 100755 --- a/scripts/stats.pl +++ b/scripts/stats.pl @@ -46,6 +46,8 @@ while ($file =~ /class="(\w+)">((?:\w| )+)<\/td>(\w+)<\/td>(\w+|-)<\ my $dmg = $10; $dmg = 0 if $dmg eq '-'; my $class = $classes{$3}; + my $type = $6; + $type = 'Emp' if $type eq 'EMP'; $st->execute($2,$class,$4,$5,'-',$6,$7,$8,$9,$dmg,$11,$12,$13,$14,$1) or die $dbh->errstr; print "$2,$class,$4,$5,'-',$6,$7,$dmg,$9,$10,$11,$12,$13,$14,$1\n"; } -- 2.39.2