summaryrefslogtreecommitdiff
path: root/app/views/application/_results.html.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-06 19:06:46 -0400
committerDavid Gay <david@davidgay.org>2021-06-06 19:06:46 -0400
commite37402ff309311a14d7dd666d0d8b29517504017 (patch)
tree3d6604805e9004bc0c37130f451376e79a68c989 /app/views/application/_results.html.erb
parent3622126380278d9bed8ea0e1e05a0bd1ea040596 (diff)
Leviathans
Diffstat (limited to 'app/views/application/_results.html.erb')
-rw-r--r--app/views/application/_results.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/application/_results.html.erb b/app/views/application/_results.html.erb
index 31fb93e..ec62991 100644
--- a/app/views/application/_results.html.erb
+++ b/app/views/application/_results.html.erb
@@ -17,6 +17,9 @@
<% when "monster" %>
<p>You encountered a <%= result[:monster].name %>.</p>
<p class="text-xs italic"><%= result[:monster].description %></p>
+ <% when "monster_spawn" %>
+ <p>You found the <%= result[:monster_spawn].monster.name %>!</p>
+ <p class="text-xs italic"><%= result[:monster_spawn].monster.description %></p>
<% when "xp" %>
<p class="text-xs">You gained <%= result[:xp] %> <%= result[:skill].name %> XP.</p>
<% when "title" %>