changeset 91:d513a05279d3 misc

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 25 Apr 2010 04:45:27 +0000
parents bf736fdd4290
children 013e69791387
files magestats.pl
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/magestats.pl	Sun Apr 25 04:35:04 2010 +0000
+++ b/magestats.pl	Sun Apr 25 04:45:27 2010 +0000
@@ -11,7 +11,8 @@
 use GD::Graph;
 use GD::Graph::linespoints;
 
-# List of spells per damage type. Only major blasts/areas.
+# List of spells per damage type. Only major blasts/areas are counted
+# for things like essence gain, etc.
 my %spell_data = (
   "acid" => [ "acid blast",          "acid storm",      "acid ray",              "acid rain",       "acid arrow",      "acid wind", "disruption" ],
   "fire" => [ "lava blast",          "lava storm",      "meteor blast",          "meteor swarm",    "fire blast",      "fire bolt", "flame arrow" ],
@@ -47,7 +48,7 @@
 ### Print out help if no arguments given
 ###
 my $prog_name = "Magestats";
-my $prog_version = "0.6.1";
+my $prog_version = "0.6.2";
 my $opt_mode = shift or die(
 "$prog_name v$prog_version - BatMUD Mage guild statistics generator
 Developed by Matti Hamalainen (Ggr \@ bat), <ccr\@tnsp.org>
@@ -345,8 +346,7 @@
 
 mlog(1, "Outputting stats HTML to '$filename'");
 
-print OUT qq|
-<?xml version="1.0" encoding="UTF-8"?>
+print OUT qq|<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>