teel / stasiscl

Automatically exported from code.google.com/p/stasiscl
0 stars 0 forks source link

Show total damage done in "Raid Information" #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Something like this would do the trick in showing total damage (rounded to
Millions or Kilos depending on total damage). Just a suggestion.

lib/Stasis/ChartPage.pm
-----------------------

    if($raidDamage > 1000000) {
            $PAGE .= $pm->textBox( sprintf( "%.1f M Damage<br>%d DPS over
%dm%02ds<br />%d raid members", $raidDamage/1000000, $raidDPS,
$raidPresence/60,
$raidPresence%60, scalar keys %raiderDamage ) );
    } else {
            $PAGE .= $pm->textBox( sprintf( "%.1f K Damage<br>%d DPS over
%dm%02ds<br />%d raid members", $raidDamage/1000 , $raidDPS, $raidPresence/60,
$raidPresence%60, scalar keys %raiderDamage ) );
    }

--------------

Sorry if this isn't right place to write this.

Original issue reported on code.google.com by dr.dr...@gmail.com on 9 May 2008 at 7:20

GoogleCodeExporter commented 8 years ago
Fixed this, finally. Sorry it took so long :)

Original comment by gianmerlino@gmail.com on 2 Jul 2008 at 2:50