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
Original issue reported on code.google.com by
dr.dr...@gmail.com
on 9 May 2008 at 7:20