diff options
author | David Gay <david@davidgay.org> | 2021-06-05 20:49:46 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-05 20:49:46 -0400 |
commit | 943e08a1c6ea36dece0cf64f4a3256dc251c9e58 (patch) | |
tree | 2b093d46a22bd891e697d78b0cf39f14b597298d /app/views | |
parent | e5a37756c4dc3b27959bfb1102ac8db9c549409c (diff) |
Expand resistances code to have meta resistances: physical and energy
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/characters/show.html.erb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb index 09e2400..7875a24 100644 --- a/app/views/characters/show.html.erb +++ b/app/views/characters/show.html.erb @@ -103,19 +103,19 @@ <th class="table-cell-padded text-right">Bash</th> <td class="table-cell-padded"><%= @character.resistance("bash") %></td> </tr> - <tr> + <tr class="text-blue-500"> <th class="table-cell-padded text-right">Arcane</th> <td class="table-cell-padded"><%= @character.resistance("arcane") %></td> </tr> - <tr> + <tr class="text-blue-500"> <th class="table-cell-padded text-right">Fire</th> <td class="table-cell-padded"><%= @character.resistance("fire") %></td> </tr> - <tr> + <tr class="text-blue-500"> <th class="table-cell-padded text-right">Frost</th> <td class="table-cell-padded"><%= @character.resistance("frost") %></td> </tr> - <tr> + <tr class="text-blue-500"> <th class="table-cell-padded text-right">Lightning</th> <td class="table-cell-padded"><%= @character.resistance("lightning") %></td> </tr> @@ -125,27 +125,27 @@ <div class="my-2"> <table class="table-auto"> <tbody> - <tr> + <tr class="text-blue-500"> <th class="table-cell-padded text-right">Acid</th> <td class="table-cell-padded"><%= @character.resistance("acid") %></td> </tr> - <tr> + <tr class="text-blue-500"> <th class="table-cell-padded text-right">Thunder</th> <td class="table-cell-padded"><%= @character.resistance("thunder")%></td> </tr> - <tr> + <tr class="text-blue-500"> <th class="table-cell-padded text-right">Radiant</th> <td class="table-cell-padded"><%= @character.resistance("radiant") %></td> </tr> - <tr> + <tr class="text-blue-500"> <th class="table-cell-padded text-right">Necrotic</th> <td class="table-cell-padded"><%= @character.resistance("necrotic") %></td> </tr> - <tr> + <tr class="text-purple-500"> <th class="table-cell-padded text-right">Poison</th> <td class="table-cell-padded"><%= @character.resistance("poison") %></td> </tr> - <tr> + <tr class="text-red-500"> <th class="table-cell-padded text-right">Bleed</th> <td class="table-cell-padded"><%= @character.resistance("bleed") %></td> </tr> |