Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

another end_tourney.pl patch



Here's a patch to end_tourney.pl to fix the lack of %ad calculations in
normalized and starbase stats.

561c561
<           $sbpad = ($sbtad/$stat{$player}->{atsb}) * 100;
---
>           my $sbpad = ($sbtac/$stat{$player}->{atsb}-$stat{$player}->{aksb}) * 100;
563c563
<           $sbpad = 0;
---
>           my $sbpad = 0;
571c571
<         printf OUTPUT ("%2.1f%%",$sbpad);
---
>         printf OUTPUT ("%2.1f",$sbpad);
734c734
<       my $pad = $normal{tad}/$normal{at}*100;
---
>       my $pad = $tad/$normal{at}*100;