Fix weapon/ability patterns

master
John Downey 2022-04-09 22:27:01 -05:00
parent 14c9252f07
commit 13e1fe4fe3
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@
{{#each abilities as |item|}} {{#each abilities as |item|}}
<li class="item-entry"> <li class="item-entry">
<div class="item flexrow" data-item-id="{{item._id}}"> <div class="item flexrow" data-item-id="{{item._id}}">
<div class="item-pattern" title="{{localize 'ACKS.items.pattern'}}" style="background:linear-gradient(0.25turn, {{item.data.data.pattern}}, transparent)"></div> <div class="item-pattern" title="{{localize 'ACKS.items.pattern'}}" style="background:linear-gradient(0.25turn, {{item.data.pattern}}, transparent)"></div>
<div class="item-name {{#if item.data.data.roll}}item-rollable{{/if}} flexrow"> <div class="item-name {{#if item.data.data.roll}}item-rollable{{/if}} flexrow">
<div class="item-image" style="background-image: url({{item.img}})"></div> <div class="item-image" style="background-image: url({{item.img}})"></div>
<h4 title="{{item.name}}"> <h4 title="{{item.name}}">
@ -119,7 +119,7 @@
<li class="item-entry"> <li class="item-entry">
<div class="item flexrow" data-item-id="{{item._id}}"> <div class="item flexrow" data-item-id="{{item._id}}">
{{#if (eq item.type 'weapon')}} {{#if (eq item.type 'weapon')}}
<div class="item-pattern" title="{{localize 'ACKS.items.pattern'}}" style="background:linear-gradient(0.25turn, {{item.data.data.pattern}}, transparent)"></div> <div class="item-pattern" title="{{localize 'ACKS.items.pattern'}}" style="background:linear-gradient(0.25turn, {{item.data.pattern}}, transparent)"></div>
{{/if}} {{/if}}
<div class="item-name {{#if (eq item.type 'weapon')}}item-rollable{{/if}} flexrow"> <div class="item-name {{#if (eq item.type 'weapon')}}item-rollable{{/if}} flexrow">
<div class="item-image" style="background-image: url({{item.img}})"></div> <div class="item-image" style="background-image: url({{item.img}})"></div>