From 61f5f280880c4d6dfb6d296c3bbbf6bc4022480b Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 23 May 2021 19:01:38 -0400 Subject: Improve combat code, add monster turns, and improve combat output --- app/views/activities/_results.html.erb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/views/activities') diff --git a/app/views/activities/_results.html.erb b/app/views/activities/_results.html.erb index 5fde590..e0e54cc 100644 --- a/app/views/activities/_results.html.erb +++ b/app/views/activities/_results.html.erb @@ -11,6 +11,11 @@

You constructed <%= result[:hearth_amenity].name %>.

<% when "activity" %>

You realized how to <%= result[:activity].name %>!

+ <% when "monster" %> +

You encountered a <%= result[:monster].name %>.

+

<%= result[:monster].description %>

+ <% when "xp" %> +

You gained <%= result[:xp] %> <%= result[:skill].name %> XP.

<% when "message" %>

<%= result[:body] %>

<% when "error" %> -- cgit v1.2.3