diff Ikariam.pm @ 75:3d1784140009

move hunting rules from building.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Thu, 23 Oct 2008 00:54:32 +0800
parents 6e0d5e781949
children 9d92e8c12f58
line wrap: on
line diff
--- a/Ikariam.pm	Wed Oct 22 20:49:29 2008 +0800
+++ b/Ikariam.pm	Thu Oct 23 00:54:32 2008 +0800
@@ -394,6 +394,7 @@
         $self->{'cities'}->{$cityId}->{resources}->{gold} = $elem->innerText();
         $self->{'cities'}->{$cityId}->{resources}->{gold} =~ s/,//g;
 
+        # XXX
         my ($elem) = $html->getElementsByAttribute("class", "city");
         $self->{'cities'}->{$cityId}->{name} = $elem->innerText();
 
@@ -554,6 +555,7 @@
         my $html = HTML::TagParser->new($c);
         my @elems;
         
+        # XXX
         @elems = $html->getElementsByAttribute("class", "avatarCities coords");
         foreach my $elem (@elems) {
             # my cities