Changed variable name

This commit is contained in:
WBHarry 2026-03-09 14:54:57 +01:00
parent 49a5f14445
commit a4a7b8e7ca
3 changed files with 6 additions and 6 deletions

View file

@ -133,12 +133,12 @@ Hooks.once('init', () => {
full: {
value: 'icons/magic/fire/barrier-wall-explosion-orange.webp',
isPath: true,
isNotTransparent: true
noColorFilter: true
},
empty: {
value: 'icons/magic/fire/barrier-wall-flame-ring-blue.webp',
isPath: true,
isNotTransparent: true
noColorFilter: true
}
}
};

View file

@ -63,8 +63,8 @@ export const abilities = {
* reverse
* label
* images {
* full { value, isPath, isNotTransparent }
* empty { value, isPath isNotTransparent }
* full { value, isPath, noColorFilter }
* empty { value, isPath noColorFilter }
* }
*/

View file

@ -7,12 +7,12 @@
{{#unless resource.fullIcon.isPath}}
<i class='{{resource.fullIcon.value}} full {{#unless (gte ../value (add this 1))}}hidden{{/unless}}'></i>
{{else}}
<img src="{{resource.fullIcon.value}}" class="full {{#unless resource.fullIcon.isNotTransparent}}filter{{else}}non-transparent{{/unless}} {{#unless (gte ../value (add this 1))}}hidden{{/unless}}" />
<img src="{{resource.fullIcon.value}}" class="full {{#unless resource.fullIcon.noColorFilter}}filter{{else}}non-transparent{{/unless}} {{#unless (gte ../value (add this 1))}}hidden{{/unless}}" />
{{/unless}}
{{#unless resource.emptyIcon.isPath}}
<i class='{{resource.emptyIcon.value}} empty {{#if (gte ../value (add this 1))}}hidden{{/if}}'></i>
{{else}}
<img src="{{resource.emptyIcon.value}}" class="empty {{#unless resource.fullIcon.isNotTransparent}}filter{{else}}non-transparent{{/unless}} {{#if (gte ../value (add this 1))}}hidden{{/if}}" />
<img src="{{resource.emptyIcon.value}}" class="empty {{#unless resource.fullIcon.noColorFilter}}filter{{else}}non-transparent{{/unless}} {{#if (gte ../value (add this 1))}}hidden{{/if}}" />
{{/unless}}
</span>
{{/times}}