From 0b9b45d573cc4f836ba7a99de77e9da18e768f10 Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 26 May 2021 18:49:28 -0400 Subject: Add a manatrawl activity, and allow for item drop quantity ranges --- app/views/activities/_results.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/activities/_results.html.erb') diff --git a/app/views/activities/_results.html.erb b/app/views/activities/_results.html.erb index 49de2d5..b7728fb 100644 --- a/app/views/activities/_results.html.erb +++ b/app/views/activities/_results.html.erb @@ -4,7 +4,7 @@ <% when "item" %>

You got <%= result[:quantity] %> <%= result[:item].name %> <% if result[:xp]&.any? %> - (<%= result[:xp].map { |award| "#{award[:amount]} xp #{award[:skill].name}" }.join(", ") %>) + (<%= result[:xp].map { |award| "#{award[:amount] * result[:quantity]} xp #{award[:skill].name}" }.join(", ") %>) <% end %>

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