diff options
author | David Gay <david@davidgay.org> | 2021-06-15 19:54:29 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-15 20:00:06 -0400 |
commit | d2a31e04d19796a600a932a3491e056fe2c89af2 (patch) | |
tree | 36c43f03b12883c6dc4e2899e3c0ab1b8726b307 /app/views/application/_results.html.erb | |
parent | 53c9df5feb8ad4ebef8f40840d29255a81edb6df (diff) |
Basic spellcasting
Diffstat (limited to 'app/views/application/_results.html.erb')
-rw-r--r-- | app/views/application/_results.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/application/_results.html.erb b/app/views/application/_results.html.erb index ec62991..691f1d5 100644 --- a/app/views/application/_results.html.erb +++ b/app/views/application/_results.html.erb @@ -24,6 +24,8 @@ <p class="text-xs">You gained <%= result[:xp] %> <%= result[:skill].name %> XP.</p> <% when "title" %> <p>You earned the title <%= render "application/components/text/title", title: result[:title] %>!</p> + <% when "condition" %> + <p>You gained the <%= result[:condition].name %> condition.</p> <% when "message" %> <p><%= result[:body] %></p> <% when "warning" %> |