mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-23 16:03:39 +02:00
Changed variable name
This commit is contained in:
parent
49a5f14445
commit
a4a7b8e7ca
3 changed files with 6 additions and 6 deletions
|
|
@ -133,12 +133,12 @@ Hooks.once('init', () => {
|
||||||
full: {
|
full: {
|
||||||
value: 'icons/magic/fire/barrier-wall-explosion-orange.webp',
|
value: 'icons/magic/fire/barrier-wall-explosion-orange.webp',
|
||||||
isPath: true,
|
isPath: true,
|
||||||
isNotTransparent: true
|
noColorFilter: true
|
||||||
},
|
},
|
||||||
empty: {
|
empty: {
|
||||||
value: 'icons/magic/fire/barrier-wall-flame-ring-blue.webp',
|
value: 'icons/magic/fire/barrier-wall-flame-ring-blue.webp',
|
||||||
isPath: true,
|
isPath: true,
|
||||||
isNotTransparent: true
|
noColorFilter: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -63,8 +63,8 @@ export const abilities = {
|
||||||
* reverse
|
* reverse
|
||||||
* label
|
* label
|
||||||
* images {
|
* images {
|
||||||
* full { value, isPath, isNotTransparent }
|
* full { value, isPath, noColorFilter }
|
||||||
* empty { value, isPath isNotTransparent }
|
* empty { value, isPath noColorFilter }
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@
|
||||||
{{#unless resource.fullIcon.isPath}}
|
{{#unless resource.fullIcon.isPath}}
|
||||||
<i class='{{resource.fullIcon.value}} full {{#unless (gte ../value (add this 1))}}hidden{{/unless}}'></i>
|
<i class='{{resource.fullIcon.value}} full {{#unless (gte ../value (add this 1))}}hidden{{/unless}}'></i>
|
||||||
{{else}}
|
{{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}}
|
||||||
{{#unless resource.emptyIcon.isPath}}
|
{{#unless resource.emptyIcon.isPath}}
|
||||||
<i class='{{resource.emptyIcon.value}} empty {{#if (gte ../value (add this 1))}}hidden{{/if}}'></i>
|
<i class='{{resource.emptyIcon.value}} empty {{#if (gte ../value (add this 1))}}hidden{{/if}}'></i>
|
||||||
{{else}}
|
{{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}}
|
{{/unless}}
|
||||||
</span>
|
</span>
|
||||||
{{/times}}
|
{{/times}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue