summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-26 18:49:28 -0400
committerDavid Gay <david@davidgay.org>2021-05-26 18:49:28 -0400
commit0b9b45d573cc4f836ba7a99de77e9da18e768f10 (patch)
tree5101a31e8f0e18d81ef46dc1dbd72991d96fd512 /app/views
parent2cf7eeb90ad8e677c6cbd793b76c39bc38e931b0 (diff)
Add a manatrawl activity, and allow for item drop quantity ranges
Diffstat (limited to 'app/views')
-rw-r--r--app/views/activities/_results.html.erb2
1 files changed, 1 insertions, 1 deletions
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" %>
<p>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 %>
</p>
<% when "hearth_amenity" %>