summaryrefslogtreecommitdiff
path: root/app/views/application/_results.html.erb
diff options
context:
space:
mode:
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" %>