diff options
Diffstat (limited to 'app/views/games/ptu/encounters/index.html.erb')
-rw-r--r-- | app/views/games/ptu/encounters/index.html.erb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/app/views/games/ptu/encounters/index.html.erb b/app/views/games/ptu/encounters/index.html.erb index 4712a3c..3da5214 100644 --- a/app/views/games/ptu/encounters/index.html.erb +++ b/app/views/games/ptu/encounters/index.html.erb @@ -1,3 +1,5 @@ +<%= link_to "Back", games_ptu_path %> + <h1>Encounters</h1> <p>Use this page to generate random Pokemon for an encounter.</p> @@ -27,6 +29,7 @@ <th>Level</th> <th>Gender</th> <th>Nature</th> + <th>Hit Points</th> <th>HP</th> <th>ATK</th> <th>DEF</th> @@ -42,12 +45,13 @@ <td><%= result[:level] %></td> <td><%= result[:gender] %></td> <td><%= result[:nature] %></td> - <td><%= result[:stats][:hp] %></td> - <td><%= result[:stats][:atk] %></td> - <td><%= result[:stats][:def] %></td> - <td><%= result[:stats][:spatk] %></td> - <td><%= result[:stats][:spdef] %></td> - <td><%= result[:stats][:speed] %></td> + <td><%= result[:hit_points] %></td> + <td><%= result[:stats][:hp] %> (<%= result[:base_stats][:hp] %>)</td> + <td><%= result[:stats][:atk] %> (<%= result[:base_stats][:atk] %>)</td> + <td><%= result[:stats][:def] %> (<%= result[:base_stats][:def] %>)</td> + <td><%= result[:stats][:spatk] %> (<%= result[:base_stats][:spatk] %>)</td> + <td><%= result[:stats][:spdef] %> (<%= result[:base_stats][:spdef] %>)</td> + <td><%= result[:stats][:speed] %> (<%= result[:base_stats][:speed] %>)</td> </tr> <% end %> </tbody> |