summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-28 11:42:04 -0400
committerDavid Gay <david@davidgay.org>2021-05-28 11:42:04 -0400
commitc38af84a52b725ecb2563c05f593a026e09846af (patch)
treecca75b0b4914046aae8419ec34cb1fa9b7b1603d /app/views
parentb0e5300ce45c09ba2bfc75947a85fe43229fbdd1 (diff)
Change Combat Statistics table to reflect combat styles
Diffstat (limited to 'app/views')
-rw-r--r--app/views/characters/show.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb
index 382cdc7..ce1c2db 100644
--- a/app/views/characters/show.html.erb
+++ b/app/views/characters/show.html.erb
@@ -42,19 +42,19 @@
</tr>
<tr>
<th class="table-cell-padded text-right">Accuracy</th>
- <td class="table-cell-padded"><%= @character.accuracy %></td>
+ <td class="table-cell-padded"><%= @character.accuracy(with_combat_style: true) %></td>
</tr>
<tr>
<th class="table-cell-padded text-right">Power</th>
- <td class="table-cell-padded"><%= @character.power %></td>
+ <td class="table-cell-padded"><%= @character.power(with_combat_style: true) %></td>
</tr>
<tr>
<th class="table-cell-padded text-right">Evasion</th>
- <td class="table-cell-padded"><%= @character.evasion %></td>
+ <td class="table-cell-padded"><%= @character.evasion(with_combat_style: true) %></td>
</tr>
<tr>
<th class="table-cell-padded text-right">Block</th>
- <td class="table-cell-padded"><%= @character.block %></td>
+ <td class="table-cell-padded"><%= @character.block(with_combat_style: true) %></td>
</tr>
<tr>
<th class="table-cell-padded text-right">Block Value</th>