Changeset 180

Show
Ignore:
Timestamp:
05/26/07 03:38:04 (3 years ago)
Author:
eevee
Message:

(bug 1) Fixed: Nature page was using the wrong indexes into the stat list.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/static/dex/mechanics/natures.tt

    r128 r180  
    5050<tr class="heading"> 
    5151    <td colspan="2" class="right">Decreased &rarr;</td> 
    52 [% FOREACH stat_id IN [ 0 .. 4 ] %] 
     52[% FOREACH stat_id IN [ 1 .. 5 ] %] 
    5353    <th>[% StatNames.$stat_id %]</th> 
    5454[% END %] 
     
    5656<tr class="heading"> 
    5757    <td colspan="2" class="left">&darr; Increased</td> 
    58 [% FOREACH stat_id IN [ 0 .. 4 ] %] 
     58[% FOREACH stat_id IN [ 1 .. 5 ] %] 
    5959    <th>[% StatFlavors.$stat_id %]</th> 
    6060[% END %] 
    6161</tr> 
    6262[% color = 1 %] 
    63 [% FOREACH plus IN [ 0 .. 4 ] %] 
     63[% FOREACH plus IN [ 1 .. 5 ] %] 
    6464<tr class="color[% color %]"> 
    6565    <th class="heading-vert">[% StatNames.$plus %]</th> 
    6666    <th class="heading-vert">[% StatFlavors.$plus %]</th> 
    67 [%     FOREACH minus IN [ 0 .. 4 ] %] 
     67[%     FOREACH minus IN [ 1 .. 5 ] %] 
    6868    <td>[% crossed_natures.$plus.$minus OR '-' | ucfirst %]</td> 
    6969[%     END %]