Xadras / stasiscl

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

Enhancement: data.xml should have the actor's ID in it. #95

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would improve lives for using using the data.xml as a simple front page
if we could look in the data.xml for the actor's ID than to dig through the
WoW Combat log by hand, or reparse the HTML.

Original issue reported on code.google.com by mouring%...@gtempaccount.com on 1 Feb 2009 at 6:54

GoogleCodeExporter commented 9 years ago
Index: lib/Stasis/Page/Chart.pm
===================================================================
--- lib/Stasis/Page/Chart.pm    (revision 250)
+++ lib/Stasis/Page/Chart.pm    (working copy)
@@ -565,6 +565,7 @@

             my %xml_keys = (
                 name => HTML::Entities::encode_entities_numeric(
$self->{index}->actorname($actor) ) || "Unknown",
+       actorid => $actor,
                 classe => $xml_classmap{ $self->{raid}{$actor}{class} } || "war",
                 dps => $dpsTime && ceil( $raiderDamage{$actor} / $dpsTime ) || 0,
                 dpstime => $dpsTime && $ptime && $dpsTime / $ptime * 100 || 0,

Original comment by mouring%...@gtempaccount.com on 12 Mar 2009 at 8:46